sriramr98 / Lights-Out

A simple 1980's game made using React

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Screenshot of Lights Out
  • Lights out is a simple game where you are given a board with some cells lit and some un-lit.
  • When you click on a cell, it reverses it's neighbours states and its own.
  • Any neighbour which was lit will be unlit and any neighbour which was unlit will be lit. It reverses it's own state too.
  • Your goal is to turn off all the cells on the board. Have fun.

NOTE - DEVS ONLY

  • I know this game might be hard to win, but if you want to hack your way through this, you can use the React Dev tools to change the state of hasWon property.

SCRIPTS

  • Start local server - npm start

  • You can visit the app here

Deployed using netlify

Style credit goes to Thomas Trinca's Codepen

About

A simple 1980's game made using React


Languages

Language:JavaScript 66.8%Language:CSS 22.0%Language:HTML 11.2%