I am trying to build walls to corral the enemies into columns. I don’t even know if my overall strategy will work, but now I am hung up on the problem at hand.
I am trying to build a loop that will build fences along a vertical axis when I place a green flag, then stop and put down a fire-trap when I put down a violet flag. I feel like it could be fool around with the dynamics of the strategy more once I build my code, but for right now I can’t get my character to stop building fences when I put down a violet flag.
Apparently I’m stuck in a loop, but I don’t know why. my loop starts by looking for a violet flag, then a green flag. Putting down a violet flag should quit the loop, but instead I keep building fences.
edit: took out my code cuz no cheating!