Sowing Fire - possible solution




newY = 7 * numTraps+ 10


newY = 7 * (numTraps%trapsInColumn) + 10

to wrap around


You shouldn’t be able to build fire traps on top of each other anymore in this level.


I would like to add that although the instructions say use len(self.built) to count number of mines, I got stuck on this level for a few days as I was using Boss Star 3’s ability to summon griffin-rider. Each new summon counts as a built item and messes up the mine grid calculation. To avoid this but keep using the griffin-rider summon ability, len(self.findHazards) can be used if you have the appropriate goggles. Perhaps len(self.findByType(“fire-trap”)) would work best and leave scope for no confusion.