Versions in this module Expand all Collapse all v0 v0.0.2 Feb 4, 2022 v0.0.1 Feb 4, 2022 Changes in this version + const Horizontal + const Left + const Right + const Vertical + func GenAllCrossScores(b *Board, ld *alphabet.LetterDistribution) + func GenAllCrossSets(b *Board, gd gaddag.GenericDawg, ld *alphabet.LetterDistribution) + func GenCrossSet(b *Board, row int, col int, dir board.BoardDirection, ...) + func UpdateCrossSetsForMove(b *Board, m *move.Move, gd gaddag.GenericDawg, ld *alphabet.LetterDistribution) + type Board = board.GameBoard + type CrossScoreOnlyGenerator struct + Dist *alphabet.LetterDistribution + func (g CrossScoreOnlyGenerator) Generate(b *Board, row int, col int, dir board.BoardDirection) + func (g CrossScoreOnlyGenerator) GenerateAll(b *Board) + func (g CrossScoreOnlyGenerator) UpdateForMove(b *Board, m *move.Move) + type CrossSet = board.CrossSet + type GaddagCrossSetGenerator struct + Dist *alphabet.LetterDistribution + Gaddag gaddag.GenericDawg + func (g GaddagCrossSetGenerator) Generate(b *Board, row int, col int, dir board.BoardDirection) + func (g GaddagCrossSetGenerator) GenerateAll(b *Board) + func (g GaddagCrossSetGenerator) UpdateForMove(b *Board, m *move.Move) + type Generator interface + Generate func(b *Board, row int, col int, dir board.BoardDirection) + GenerateAll func(b *Board) + UpdateForMove func(b *Board, m *move.Move)