Documentation ¶ Index ¶ type Game func NewGame(wordlist *wordlist.WordList, date time.Time, numGuesses int) *Game func (g *Game) Backspace() func (g *Game) Draw(s tcell.Screen) func (g *Game) Enter() func (g *Game) IsFinished() bool func (g *Game) Keypress(x rune) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Game ¶ type Game struct { WordList *wordlist.WordList // contains filtered or unexported fields } func NewGame ¶ func NewGame(wordlist *wordlist.WordList, date time.Time, numGuesses int) *Game func (*Game) Backspace ¶ func (g *Game) Backspace() func (*Game) Draw ¶ func (g *Game) Draw(s tcell.Screen) func (*Game) Enter ¶ func (g *Game) Enter() func (*Game) IsFinished ¶ func (g *Game) IsFinished() bool func (*Game) Keypress ¶ func (g *Game) Keypress(x rune) Source Files ¶ View all Source files game.go interface.go keyboard.go result.go Click to show internal directories. Click to hide internal directories.