Skip to content

🎮 Lights Out is a game that consists of a 5 by 5 grid of lights. Pressing any of the lights will toggle it and the adjacent lights. The goal of the puzzle is to switch all the lights off.

License

Notifications You must be signed in to change notification settings

Lukazovic/lights-out-react-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lights Out Game


Built With   |    About   |    How to play   |    How to Contribute   |    Author

🔧 Built With

💻 About

Lights Out is a game that 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 adjacent lights. The goal of the puzzle is to switch all the lights off, preferably in as few button presses as possible.

🎮 How to Play

  • Clone the project: git clone https://github.com/Lukazovic/lights-out-react-app.git;
  • Go to the project folder: cd lights-out-react-app;
  • Download the dependencies: npm install;
  • Start the application: npm start.

It will open a browser page (if it doesn't, go to http://localhost:3000). Then you can start playing. Good luck!

🤔 How to Contribute

  • Fork this repository;
  • Create your branch with your feature: git checkout -b my-feature;
  • Commit your feature: git commit -m 'feat: My new feature';
  • Push to your branch: git push origin my-feature.

Then merge your pull request, you can now delete your branch

📝 Author


Lucas Vieira

About

🎮 Lights Out is a game that consists of a 5 by 5 grid of lights. Pressing any of the lights will toggle it and the adjacent lights. The goal of the puzzle is to switch all the lights off.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published