Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TypoGame ¶
type TypoGame struct { Settings // contains filtered or unexported fields }
func NewTypoGame ¶
func (*TypoGame) ShowResult ¶
type WordTokener ¶
type WordTokener struct {
// contains filtered or unexported fields
}
func NewWordTokener ¶
func NewWordTokener(wordList []string) *WordTokener
Returns a reference to a new WordTokener User must supply some words of length one and two so that Line method could return a complete line
func (*WordTokener) Line ¶
func (t *WordTokener) Line(length int) []string
Click to show internal directories.
Click to hide internal directories.