lights_out_test


lights_out_test, a MATLAB code which calls lights_out(), which analyzes the "Lights Out" game, in which lights on a 5x5 board are randomly lit up. Pushing a light reverses its status, as well as the status of the north, south, east and west neighbor lights. The user seeks to push buttons in such a way that all the lights are turned off.

Licensing:

The information on this web page is distributed under the MIT license.

Related Data and Programs:

lights_out, a MATLAB code which analyzes the "Lights Out" game, in which lights on a 5x5 board are randomly lit up. Pushing a light reverses its status, as well as the status of the north, south, east and west neighbor lights. The user seeks to push buttons in such a way that all the lights are turned off.

Source Code:


Last revised on 11 November 2024.