Chess X Minesweeper - Numbered tiles represent the number of pieces that have that tile in check.
Play at https://chessweeper.com
To run the game locally with debug tools, run npm install
to install dependencies, then run npm run start
.
To run unit tests, run npm run test
.
To build a release version of the game, run npm run build
. The output is placed in the build
directory.
Command | Description |
---|---|
start |
run dev server |
preview |
run output from local build directory (requires running build first) |
build |
create production build in the build directory |
test |
run unit tests |
coverage |
run unit tests and generate a coverage report |
lint |
check for eslint warnings/errors in all ts/tsx files |
tsc |
run typescript compiler to check for type errors in all ts/tsx files |
prepare |
automatically run by NPM during install to setup husky |
- For icons, see the assets repository
- Idea taken from https://www.reddit.com/r/AnarchyChess/comments/ytw69b/new_chess_2_update_just_dropped_numbers_are_based/