karlchencloud

module
v0.0.0-...-4676a12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2021 License: Apache-2.0

README

KarlchenCloud · CircleCI

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.

Usage

Docker
Command line game with bots

You can debug the game with bots (that just play random cards).

Interactive Client (plus bots)

To start a game on the command line, you need three terminals and start in the following order:

  1. Server terminal: go run ./cmd/server
  2. Client terminal: go run ./cmd/client interactive --name "Karlchen Müller" --email karlchen@mueller.de --password 12345
  3. Follow the instructions
  4. Bot terminal: go run ./cmd/client bot --num-bots 3 --delay 2000
  5. Play the game in the client terminal.
Bots Only

This is very similar, but only requires two terminals (in order):

  1. Server terminal: go run ./cmd/server
  2. Bot terminal: go run ./cmd/client bot --num-bots 4 --delay 250 --owner
  3. "Enjoy" bots at work.

Development

See Development.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL