Lights On Game

image image

Try it out:

About this project

Classic Lights Out game built on React.

The aim of the game is to turn all the lights on the board off.

When you click on one light, it will toggle on/off that light and its 4 non-diagonal neighbours (N,S,E,W).


This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode. Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes. You may also see any lint errors in the console.

npm run build

Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes. Your app is ready to be deployed!

See the section about deployment for more information.


View Github