This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.

Pennies Egress!

This applet implements a very simple set of rules for pennies leaving a grid. Exits are tiles colored in black. All of the pennies simply attempt to get closer to the nearest exit. If they are on an exit they are removed from the board.

To begin press "setup". This resets the counters and clears the board. Now pennies may be placed on the board by pressing the left mouse button. Pressing the mouse button and control key will place a new exit. Toggle the fill numbers with f key.

Pressing the "step" button will step the board through one tick. Any pennies that move will be marked with an arrow.

Pressing "run" will step the board until it is emptied. Pressing "Add Pieces" will randomly add a piece to the board at each step. Pressing "Moore" will toggle movement rules between Von Neumann and Moore neighborhoods.

Try alternate keys: a,f,r,s,p,<space>,m,"?"

Press the mouse on this screen to begin.

Source code: CheckerBoard InfoDisplay TODO board buttons keyboard mouse pieces tiles utils

Built with Processing