Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GameBoard ¶
The GameBoard type holds the state of all the characters on the gamebaord
func NewGameBoard ¶
NewGameBoard is a factory for the gameboard data. It will leave the board in its zero state to keep the factory lean and efficient.
func (*GameBoard) CheckBoard ¶
func (g *GameBoard) CheckBoard(l lexicon.WordPrefixGroup) Groups
CheckBoard starts the recursive breadth-first search on the gameboard. This one is the main bit. Iterates over the entire board, looking for words. Words can be strung together from any direction, so long as a letter has not been used more than once in the same word.
Click to show internal directories.
Click to hide internal directories.