Skip to content

ReactJs mock up of the classic game "Lights out". Created primarily with React, State, conditionals, and css.

Notifications You must be signed in to change notification settings

Vincenttoon/lights-out

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

One Light

One Light

License

License: MIT

Description

5x5 classic "Lights Out" game created with React and Css. I built this to refresh and expand my knowledge of React and Javascript.

By: Vincent Toon

Table of Contents

Live Deployment

Rules

  1. Board opens fully lit.
  2. User must touch the cells to turn on/off the lights.
  3. Each cell touches the four (up, down, left, right) cells around it.
  4. Play until board is completely dark (or for now, down to one lit piece).
  5. Celebrate victory!

Future Improvements

  • Create randomly generated board for that will always succeed and leave board fully dark. "Dancing Links" algorithm suggested in research.
  • Light and dark mode for users.
  • Option for users to choose board size.

Questions?

Questions, comments, or concerns? Please Email me at:

About

ReactJs mock up of the classic game "Lights out". Created primarily with React, State, conditionals, and css.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published