Documentation
¶
Index ¶
Constants ¶
View Source
const ( StateLobby = "lobby" StateRunning = "running" RoleHost = "host" RolePlayer = "player" )
Variables ¶
View Source
var EmptyGameMap = make(GameMap)
Functions ¶
func IsSupportedRole ¶
func IsSupportedState ¶
Types ¶
type Game ¶
type UpdateStateRequest ¶
type UpdateStateRequest struct {
NewState string `json:"state"`
}
Click to show internal directories.
Click to hide internal directories.