Hi @Reyansh_Tandon , please post your code correctly/fomated
and i found something too
in the if flag black:
you have fence insted of fire-trap
Heres something for flags
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
also, use hero.pickUpFlag()
to pick the flag up. Else, it might confuse your hero into going to your previous flag
EDIT : if i posted the same thing in a different topic, its cause im to lazy to wright it again lol