Lights Out (game)
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
No issues specified. Please specify issues, or remove this template. |
Lights Out is an electronic game, released by Tiger Toys in 1995.[1] The game consists of a 5 by 5 grid of lights. When the game starts, a random number or a stored pattern of these lights is switched on. Pressing any of the lights will toggle it and the four adjacent lights. The goal of the puzzle is to switch all the lights off, preferably in as few button presses as possible.[1][2]
A similar electronic game Merlin was released by Parker Brothers in the 1970s with similar rules on a 3x3 grid. Another similar game was produced by Vulcan Electronics in 1983 under the name XL-25. Tiger Toys also produced a cartridge version of Lights Out for its Game.com handheld game console in 1997, shipped free with the console. A number of new puzzles similar to Lights Out have been released, such as Lights Out 2000, Lights Out Cube, and Lights Out Deluxe.[1][2]
Inventors
This section needs additional citations for verification. (November 2010) |
Lights Out was created by a group of people including Avi Olti, Gyora Benedek, Zvi Herman, Revital Bloomberg, Avi Weiner and Michael Ganor. The members of the group together and individually also invented several other games, such as Hidato, NimX, iTop and many more.
Gameplay
The game consists of a 5 by 5 grid of lights. When the game starts, a random number or a stored pattern of these lights is switched on. Pressing any of the lights will toggle it and the four adjacent lights. The goal of the puzzle is to switch all the lights off, preferably in as few button presses as possible.[1]
If a light is on, it must be toggled an odd number of times to be turned off. If a light is off, it must be toggled an even number of times (including none at all) for it to remain off. Several conclusion are used for the game's strategy. Firstly, the order in which the lights are pressed does not matter, as the result will be the same.[3] Secondly, in a minimal solution, each light needs to be pressed no more than once, because pressing a light twice is equivalent to not pressing it at all.[3]
Light chasing
"Light chasing" is a method similar to Gaussian elimination which always solves the puzzle, although with the possibility of many redundant steps.[2][4][5] In this approach, rows are manipulated one at a time starting with the top row. All the lights are disabled in the row by toggling the adjacent lights in the row directly below. The same method is then used on the consecutive rows up to the last one. The last row is solved separately, depending on its active lights. Corresponding lights (see table below) in the top row are toggled and the initial algorithm is run again, resulting in a solution.[5]
Bottom row | Top row |
---|---|
O---O | OO--- |
-O-O- | O--O- |
OOO-- | -O--- |
--OOO | ---O- |
O-OO- | ----O |
-OO-O | O---- |
OO-OO | --O-- |
Tables and strategies for other board sizes are generated by playing Lights Out with a blank board and observing the result of bringing a particular light from the top row down to the bottom row.
Further results
Once a single solution is found, a solution with the minimum number of moves can be determined through elimination of redundant sets of button presses that have no cumulative effect.[4][5] If the 5x5 puzzle is unsolvable under legal game creation, two leftmost lights on the bottom row will remain on when all other lights have been turned off.
Existence of solutions has been proved for a wide variety of board configurations, such as hexagonal,[6] while solutions to n-by-n boards for n≤200 have been explicitly constructed.[7]
See also
References
- ^ a b c d 'Beyond Tetris' - Lights Out, Tony Delgado, GameSetWatch, January 29, 2007. Accessed on line October 18, 2007.
- ^ a b c Lights Out, Jaap's Puzzle Page. Accessed on line October 18, 2007.
- ^ a b Lights Out Puzzle, MathWorld.
- ^ a b Turning Lights Out with Linear Algebra, Marlow Anderson and Todd Feil, Mathematics Magazine, Vol. 71, No. 4 (Oct 1998), pp. 300-303
- ^ a b c Solving Lights Out, Haar.Clara.[dead link ]
- ^ unknown (20 Nov 2010). "Lights out game on hexagonal grid". Retrieved 30 November 2010.
- ^ Jim Fowler (21 July 2008). "Solutions to Lights Out". Jim Fowler blog. Retrieved 30 November 2010.