Sign Up, Lost Password
Comments for Conway's soldiers - Evolved
Return to Conway's soldiers - Evolved
java.lang.NullPointerException at Worldy.act(Worldy.java:102)
Will fix that tomorrow, thanks.
A new version of this scenario was uploaded on Sat Feb 01 11:27:40 UTC 2014 fixed a bug
It is still not running
The game has no AI yet, you have to play against yourself or find someone at home to play with.
You should always test your upload on the site to make sure it is doing what it should there. As soon as you click 'Run', the 'Pause' button flashes and the scenario stops and the 'Run' button reappears. There is an error being thrown that is preventing the scenario from running.
The problem is that the MouseInfo object can be 'null' when returned by using 'getMouseInfo', You need one more additional check in the final 'if' condition and it needs to be placed first: [code]if (mouse != null && /** what you already had */)[/code]
I think I avoid needing to check if the MouseInfo object is null, by only trying to invoke something on it within a block of code that has one of the mouse move/press/click/drag events return true.
A new version of this scenario was uploaded on Sat Feb 01 19:44:02 UTC 2014 fixed a bug
I did check my scenario before putting it on the site, although when I tested the game I never got an error
A new version of this scenario was uploaded on Sat Feb 01 20:01:24 UTC 2014 changed the startup pattern
Point two in your 'How to play' should be: 'You cannot jump OVER an empty square.'
A new version of this scenario was uploaded on 2021-05-07 08:15:43 UTC Updated for latest version of Greenfoot