Brains, The Game
In my book, Testing with F#, I work out an example on model-based testing using a game called Brains.
I first met this game on the Amiga when I was growing up, facinated by its simplicity and genious. The rules goes like this
- Recreate the grid on the right to the left
- Click the grid to place out 1's
- Each 1 you place will increase the value of neighbours
- If a cell is increased from 4, it will turn-around and become 1
Here's the game. (you need to read this in a javascript enabled browser)
Play Brains!
The Code
Since this is a programming blog it wouldn't do unless I posted the code for the game also.
comments powered by Disqus