Modern version of the classic sapper game
- sapper game
- store the best time of the level in the localstorage
- store the selected level in the localstorage
- if the game ends badly, the flags set by mistake are not removed, and the flags set into bombs are correctly turned into bombs
- if the flag is placed in an empty field - do not touch it when opening an empty field
- 1 click always on an empty cell
- pause in the game
- change color scheme
- come up with an algorithm for generating bombs so that there are no situations when you need to randomize, or at least minimize them
- instead of seconds, do a normal time count with minutes
- adaptive screen size
- show the region of the central cell when hovering over it
Clone the project
git clone git@github.com:DanilChugaev/sapper.git
Go to the project directory
cd sapper
Install dependencies
npm install
Start the development server
npm run dev
To generate production build
npm run build
To lint code in project
npm run lint