/Web-Client

Web Client for Chessweeper

Primary LanguageTypeScriptMIT LicenseMIT

Chessweeper · Discord Codacy Badge Codacy Badge

Chess X Minesweeper - Numbered tiles represent the number of pieces that have that tile in check.

Play at https://chessweeper.com

Preview

Development

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.

All NPM Commands

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

Credits