This was a project that I started for someone who wanted a Checkers version of Duck Chess.
For myself, I aimed to learn:
- how to use the Bun runtime instead of Node
- how to build a frontend using SvelteKit
- how to use websockets for data transfer
If you only want to run the game, you'll need Docker installed and running first. Consider using Docker Desktop.
Follow the .env-template files and create a .env file in the root directory.
Then you can run docker-compose up mongo app api -d to start the application, which should be available on localhost:4173.
I started this project when Bun wasn't available for Windows. In order to get around this, there's a development container available.
- Populate the
.envbased on the.env-template. - There's another
.envneeded in the/clientfolder. - Run
docker-compose up oven -d. - Connect to the container using VS Code and the Attach to Running Container option.
- Start the API from
/serverwithbun run i, thenbun run dev. - Start the frontend from
/clientwithbun run i, thenbun run dev --host.

