chazmcgrill / bugsweeper

Minesweeper game recreation, built using React

Home Page:https://chazmcgrill.github.io/bugsweeper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bugsweeper Game

Deployment Status GitHub Release PR's Welcome Twitter Follow

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

Tech Stack

To Run Locally

  1. Fork or clone this repo
  2. Run npm install to install dependencies
  3. Run npm start to start the dev server

Contributions

Feel free to contribute, just fork this repo and raise a PR.

Bugs & Issues

If you find any bugs or issues feel free to raise them in the issues section of this repo.

About

Minesweeper game recreation, built using React

https://chazmcgrill.github.io/bugsweeper


Languages

Language:TypeScript 83.6%Language:Sass 11.4%Language:HTML 4.5%Language:Shell 0.6%