1.6 KiB
1.6 KiB
Table of content
Description
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.
Techno used
- React
- Recoil
- TypeScript
- SCSS
- Docker
Installation
Local
-
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
Docker
-
Build the image
docker build -t minesweeper . -
Run the container
docker run --name minesweeper -dp 3000:3000 minesweeper


