Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRandomRoomID ¶
Types ¶
type Room ¶
type Room struct { RoomID string `json:"RoomID"` // Unique id of this room RoomName string `json:"RoomName"` // Name of this room Players []*Player `json:"Players"` // List of players in the room NumPlayers int `json:"NumPlayers"` // Number of players expected in the room CurrentPlayer int `json:"CurrentPlayer"` // Current player index TimeStart time.Duration `json:"TimeStart"` // Time each player starts with TimePerRound time.Duration `json:"TimePerRound"` // Time added each round RoundNum int // Current "round" // contains filtered or unexported fields }
func (*Room) BroadcastRoomUpdate ¶
func (*Room) BroadcastUpdate ¶
Click to show internal directories.
Click to hide internal directories.