asemarian / lights-out

A web version of the classic Lights Out game

Home Page:https://asemarian.github.io/lights-out/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lights Out

A web version of the classic Lights Out game. The game consists of a 5x5 grid of lights. Pressing a light toggles all the lights adjacent to it (above, below, to the right, and to the left of it). The goal is simple: turn off all the lights! For more information, check out this Wikipedia article.

Screenshot of the Lights Out game

Implementation

I used React to implement this game. I referenced this paper to ensure that the patterns generated are solvable. Also: it's responsive, so you can play on your phone, too. Click here to go to the live version.

Install

Go to the master branch first, then download or clone the repo. You need to start a local server to run the game.

About

A web version of the classic Lights Out game

https://asemarian.github.io/lights-out/


Languages

Language:JavaScript 56.4%Language:CSS 34.6%Language:HTML 9.1%