We use the gRPC protocol that allows for type-safe APIs and real-time streaming of game events to other players.
The server is implemented in Go. To get started,
open the repository root in the Go IDE of your choice and run cmd/server/main.go
.
The (raw) grpc server is automatically wrapped with the grpc-web Go proxy by improbable to allow for grpc-web (browser) connections.
The following debug parameters can be specified as environment variables:
Variable | Example | Explanation |
---|---|---|
KC_DBG_SEED | 1475759920238344204 | Overwrite for randomized events (e.g. dealt cards) |