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

Report as inappropriate.

Game/maniac presents ...


Conway's soldiers - Evolved

A 2-player game.

Blue always plays first

How to play:
• Jump one of your players over another piece on the screen by selecting a piece next to the piece you want to jump over. Then click the space where you would like to jump.
• You cannot jump over an empty space.
• If you jump over one of your own pieces there is a 1 in 2 chance your piece will survive.
• If you jump over the opponents piece the piece will be destroyed.
• You can only jump over 1 piece.
• You can't jump diagonally

2320 views / 621 in the last 7 days

Tags: mouse game with-source

This scenario is a member of: Games/Simulations by Game/maniac

open in greenfoot
Your browser does not support the canvas tag.


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

See all comments

Want to leave a comment? You must first log in.

Who likes this?

No votes yet.