Help! Only killing 1 Ogre in Patrol Buster with Clojure

@nick This also basically happens in python if I change “loop:” to “while n < 1000000000” (this might be the problem in my inf-loop post meaning it is looping over “nothing” (if “False”) really fast.)

If I pick a lower n (like clojures default 1000) it gets to the say before the others ogres come out…

Hmm, which is interesting . . . why did the hero lock up BEFORE killing the first ogre for the really big n

If I change my python code here to “while True:” I get the “hard limit of 1000000 exceeded” error

testing a different problem I noticed this in the default text on the level (“Desert Combat”) I was using to test:

# Always take an action inside a while loop, or it'll go infinite!
1 Like