Backwoods forest- drop the flag[SOLVED]

help with Drop The Flag CodeCombat - Coding games to learn Python and JavaScript

can’t tell what i’m missing here?

1 Like

you can delete your flagPos = flag.pos and hero.moveXY(flagX, flagY)

2 Likes

its giving me an error at flag = hero.findFlag()
now (typeError)

1 Like

I think this is because you didn’t equip a flag.

3 Likes


yep you didnt equip it. But… i see a boss star … is it possible to get one in the forest?

2 Likes

thanks! that worked, but now i’m getting this error:

now you need to play the game when you see a ogre place a flag on one of the x’s

1 Like

@elemersglue

like @Eric_Tang said, you have to be quick by placing flags

when you run the code, it gives you another random seed.

BEFORE


AFTER

if you dont know how to place flags,
look at the bottom left of your screen and click green, click on the map

2 Likes

no its not possible you get all the boss stars in the mountains

do you have to be sub if you want the boss star 4,5

no you don’t need a sub to have those.

thanks everyone! i dont have that flag option on the bottom left corner of my screen. is it because i’m on Individual mode?

no show a screen shot

you need to press submit

3 Likes

You have to click Submit, and then you will see it

2 Likes

LOL we posted at one time

3 Likes

omg thanks guys! getting this error now:

I think you have to write flag.pos.x

1 Like

and you have to right flag.pos.y

1 Like