Lights Out is a puzzle game consisting of an n x n grid of lights. At the beginning of the game, some of the lights are switched on. When a light is pressed, this light and the four adjacent lights are toggled, i.e., they are switched on if they were off, and switched off otherwise. The purpose of the game is to switch all the lights off.
This was developed for a software challenge.
- Download The latest .Net 5.0 SDK
- Clone the repository.
First cd to the LightsOut project folder:
$ cd /your-local-path/LightsOut
Then:
$ dotnet run --project LightsOut
Then you can open http://localhost:5000 with your browser.