Documentation ¶
Index ¶
- func CreateGame(ctx context.Context, pIDs []model.PlayerID) (model.Game, error)
- func GetGame(ctx context.Context, gID model.GameID) (model.Game, error)
- func GetPlayer(ctx context.Context, pID model.PlayerID) (model.Player, error)
- func HandleAction(ctx context.Context, action model.PlayerAction) (err error)
- func Setup() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleAction ¶
func HandleAction(ctx context.Context, action model.PlayerAction) (err error)
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.