|
A simple game written with Mathematica, showing how palettes can be made interactive. The game board consists of a 5x5 grid of "lights," each of which is on (red) or off (blue). By pressing a light, the state of that light toggles, as do the states of the lights immediately above, below, to the left, and to the right of it. The point of the game is to get all of the lights off (blue).
|
|