Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clock ¶
type Clock struct {
// contains filtered or unexported fields
}
Clock provides the timing of the game
type Game ¶
type Game struct {
// contains filtered or unexported fields
}
Game manages the game state
func NewGame ¶
func NewGame(logger *log.Logger, tileRequested chan bool, tileLanded chan tile.Tile, topReached chan tile.Tile, tilePicked chan tile.Tile, nextTilePicked chan tile.Tile, tileMoved chan rune, refreshRequested chan string, clockTicked chan int, r int) *Game
NewGame is a constructor for Game
Click to show internal directories.
Click to hide internal directories.