Wolfram Library Archive


All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

Lights Out Palette Demonstration
Author

Rob Raguet-Schofield
Organization: Wolfram Research, Inc.
Department: Mobile Development
Description

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).
Subjects

*Mathematics > Recreational Mathematics
*Wolfram Technology > Front End > Palettes and Dialog Boxes
Keywords

Palette, interactive
Related items

*The Lights Out Puzzle   [in Articles]
URL

http://mathworld.wolfram.com/LightsOutPuzzle.html
Downloads Download Wolfram CDF Player

Download
LightsOn.nb (22.6 KB) - Notebook with interactive palette