Skip to content

A webxdc chess game for two players and many observers :)

License

Notifications You must be signed in to change notification settings

ArcaneCircle/chess

Repository files navigation

Chess CI code style: prettier

A WebXDC chess game for two human players and many observers.

Contributing

Installing Dependencies

After cloning this repo, install dependencies:

pnpm i

Checking code format

pnpm check

Testing the app in the browser

To test your work in your browser (with hot reloading!) while developing:

pnpm start

Building

To package the WebXDC file:

pnpm 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 pnpm build

The resulting optimized .xdc file is saved in dist-xdc/ folder.

Releasing

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

Credits

The chess pieces images are from Cburnett licensed under the CC-BY-SA 3.0 license and can be downloaded from: https://en.wikipedia.org/wiki/User:Cburnett/GFDL_images/Chess