Shouldn’t a hammer be required, and perhaps flags banned?
My hero keeps building fences after one has been built, wasting time. This can be solved using the isPathClear function, but I don’t it’s likely that players that early will necessarily have access to it. Sometimes, a peasant comes at the same time as an ogre on a fire-trap location. (Also, it is hard to find a distance that keeps from building traps at the wrong place when an ogre is coming from a different direction, yet will still stop all coming ogres, even with the Ring of Speed. Could this be specified in the guide?) I finally beat the level with a rather complicated solution involving chain-lightning, the Ring of Speed, and isPathClear.
(I’ve submitted a patch to correct what is presumably an erroneous function in the guide.)
What do you mean “it didn’t work”? Could you give your session ID for the level? To get it - open dev console and find a string like this: Generated random seed 2452538293 of type submissionCount from sessionIDs 5799xxx2d124a2401f0046dc2b submissionCount 3
Thanks. It’s weird. Because I get the success with the same equipment and the same code. I think it’s the random seed which affects the ogre (one from the top) behaviour.
I’ll fix it tomorrow.