Live Demo: https://minesweeper.alexisvasseur.fr
Minesweeper is a game where the player has to clear a minefield without detonating any mine. The game is won when all the cells without a mine are revealed. The game is lost when a mine is revealed.
- React
- Recoil
- TypeScript
- SCSS
- Docker
-
Clone the repository
git clone https://www.github.com/KeunotorCagoule/minesweeper.git
-
Install the dependencies
npm install
-
Run the server as development
npm start
-
Run the server as production
npm run build npm i -g serve serve build
-
Build the image
docker build -t minesweeper .
-
Run the container
docker run --name minesweeper -dp 3000:3000 minesweeper