Who can create the shortest Lights Out game?
A Lights Out game is a game consisting of a grid of squares, white and black, with the goal being to turn them all black. Select a square, and it flips the square and the four surrounding squares.
Features that must be implemented:
Arbitrary board sizes (square grids only are OK)
A scramble algorithm (must always create solvable puzzle).
Ti-83 plus compatible.
Bonus points if:
Memory menu shows less than 480 bytes.
An alternate version has squares cycling through three states instead of two.
My version (the one I shall be testing it against) is 473 bytes in the memory menu.
Board sizes compatible: 2x2 through 15x15.
Scramble algorithm is unfortunately rather slow.
Three-state version is 470 bytes.
Two-state version does not use matrices, Three-state does.