Skip to content

katepysova/Lights-Out-Game

Repository files navigation

Lights Out Game

Lights Out Game consists of a 5x5 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 with as few button presses as possible...

  • Read more about this game here.

  • See game demo deployed on Github Pages here.

Installation

  1. Clone repo or downloand zip: [email protected]:katepysova/Lights-Out-Game.git

  2. Change your current directory to this project directory.

  3. npm install

  4. git init

  5. npm run prepare - to install git pre-commit hook (does not work not in a git repository).

  6. git add .husky/pre-commit - to add git pre-commit hook.

  7. touch .env - to create .env file, if needed.

How to run

Additional

npm run format - to format and lint the code.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published