KarlchenCloud is an open source client/server implementation of the German card game Doppelkopf.
We provide a web application that can be used without any installation. Using the open and simple API, however, other clients an be developed as well.
- optional: build the frontend
- run
docker-compose build - run
docker-compose up - optional: if you built the frontend, visit http://localhost:5051 in a browser
You can debug the game with bots (that just play random cards).
To start a game on the command line, you need three terminals and start in the following order:
- Server terminal:
go run ./cmd/server - Client terminal:
go run ./cmd/client interactive --name "Karlchen Müller" --email [email protected] --password 12345 - Follow the instructions
- Bot terminal:
go run ./cmd/client bot --num-bots 3 --delay 2000 - Play the game in the client terminal.
This is very similar, but only requires two terminals (in order):
- Server terminal:
go run ./cmd/server - Bot terminal:
go run ./cmd/client bot --num-bots 4 --delay 250 --owner - "Enjoy" bots at work.
See Development.