Recreation of the classic windows desktop game minesweeper. The aim of the game is to choose squares avoiding the randomly placed bugs. Flags can be placed by right clicking.
The most interesting part was working out how to clear the empty cells. This required building a 'flood fill' algorithm and applying this to the react logic.
Play the game here
- Fork or clone this repo
- Run
npm install
to install dependencies - Run
npm start
to start the dev server
Feel free to contribute, just fork this repo and raise a PR.
If you find any bugs or issues feel free to raise them in the issues section of this repo.