A WebXDC chess game for two human players and many observers.
Download the latest version, attach to a Delta Chat (or other WebXDC-capable client) group or direct chat and play chess!
After cloning this repo, install dependecies:
npm install
npm run typecheck
npm run format:check
npm test
To test your work in your browser (with hot reloading!) while developing:
npm run dev-mini
# Alternatively to test in a more advanced WebXDC emulator:
npm run dev
To package the WebXDC file:
npm run build
To package the WebXDC with developer tools inside to debug in Delta Chat, set the NODE_ENV
environment variable to "debug":
NODE_ENV=debug npm run build
The resulting optimized .xdc
file is saved in dist-xdc/
folder.
To automatically build and create a new GitHub release with the .xdc
file:
git tag -a v1.0.1
git push origin v1.0.1
Licensed GPLv3+, see the LICENSE file for details.
The chess pieces images are licensed under the Creative Commons Attribution-Share Alike 3.0 Unported
license and were taken from:
https://en.wikipedia.org/wiki/User:Cburnett/GFDL_images/Chess