This site requires JavaScript, please enable it in your browser!
Greenfoot back

danpost's Comments

Back to danpost's profile

Sorry, that was supposed to be: if (getWorld() != null) eatAsteroid();
I fixed by just changing 'eatAsteroid();' to 'if (getWorld != null) eatAsteroid();'.
@Psychman, you're forgiven, this time. This question should have been in a new discussion thread, not in the comment section for a given scenario. In response, however, either your picture is over the 1MB limit in size or you are not clicking on the 'Save' button near the bottom of the page.
danpostdanpost

2012/4/29

No. Without changing the starting conditions. Hit the 'Run' button, and press the 'z' key immediately while holding down the left arrow key. You get across the screen before any rocks can block you. Then squeeze between the two rocks in the middle of the left side of the screen to get to the stargate. No explosions and 'Enterprise: 1300+' every time.
danpostdanpost

2012/4/29

I found a cheat to win every time. See if you can find it.
Now, make it so a RIGHT click adds a new rock.
@tylers, you asked to see the codes. Well, I posted a new scenario called 'Maze Generator' with source. I hope that is sufficient. It only has the part to create the maze (but in multiple ways). It does not, however, have the player or the maze solving algorithm (or the timers; or muliple sizes).
Does this machine ever run out of product? Either there is an endless supply or it holds an abundance of product. Good thing, though; I was thirsty!
Amen, to that!