Flags are not coming. Is there any command so flags will come ?
Even findNearestEnemy is not retuning any value even though Yak are there…
Is there any command for putting flags,
Pl. guide. This is my first post and really looking forward to help.
while True:
flag = hero.findFlag("green")
if flag:
hero.move(flag.pos)
hero.removeFlag(flag)
You press the submit button then in the bottom left corner there should be things saying green purple black. Then you click the green one and tap the screen where you want to place the flag at.
so look you gotta press submit look down at the bottom right corner and click the green flag and place it down where ever you think yaks cant get you and your hero moves there.
Well, I’m not exactly sure where you’re at in the maps of CodeCombat. If your ahead of me, then there might be another way where you don’t have to pick up flags . But if you’re not, then I think you still need to pick up your flag.