Copper Medows, flag following

First of all, thanks for all the work, what a neat site.

normally I’m too lazy for forums, but I’d like to progress further along, but am stuck at copper meadows, when I place flags, of any color, no luck on moving to them though. I hope it’s not something I’m missing in the code, but it seems to be there, and the previous flag levels work.

It would be nice to skip levels like 3 times for bugs like this. Until then, anything I can do to help let me know, (sending a video, different browsers, screenshots, I dunno).

Thanks.

You can always post your code here, and some nice forum-member will help you.
Thanks to different timezones, an answer usually won’t take longer than a few hours.

As far as I know, there shouldn’t be any problems with moving to flags.

Try the following code:

Python:

loop:
    flag = self.findFlag()
    if flag:
        self.pickUpFlag(flag)

JavaScript:

loop{
    var flag = this.findFlag();
    if (flag){
        this.pickUpFlag(flag);
    }
}

CoffeeScript:

loop
    flag = @findFlag()
    if flag
        @pickUpFlag flag

This should cover the most common languages.

1 Like

Well, thanks, you are the nice-forum member you spoke of.

the code you sent worked fine. I think it was just a silly mistake on my part.

Now the question is how to delete/close this embarrassing post/topic, so it doesn’t clog up the forums.

Dont worry it will drop down and wont block anyone (only admins and delete posts[I think])