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

Report as inappropriate.

Game/maniac
Game/maniac presents ...

2014/1/31

Conway's soldiers - Evolved

A 2-player game.

The cursor notifies whos go it is.

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 onto 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

1152 views / 14 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.
A new version of this scenario was uploaded on Sat Feb 01 11:27:40 UTC 2014 fixed a bug
JetLennitJetLennit

2014/2/1

It is still not running
Game/maniacGame/maniac

2014/2/1

The game has no AI yet, you have to play against yourself or find someone at home to play with.
danpostdanpost

2014/2/1

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.
danpostdanpost

2014/2/1

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]
bournebourne

2014/2/1

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
Game/maniacGame/maniac

2014/2/1

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
danpostdanpost

2014/2/1

Point two in your 'How to play' should be: 'You cannot jump OVER an empty square.'

See all comments

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

Who likes this?

No votes yet.