Documentation ¶
Index ¶
- func MoveToTinyMove(m *move.Move) tinymove.TinyMove
- func SmallMoveToMove(sm tinymove.SmallMove, m *move.Move, tm *tilemapping.TileMapping, ...)
- func TinyMoveToFullMove(t tinymove.TinyMove, bd *board.GameBoard, ld *tilemapping.LetterDistribution, ...) (*move.Move, error)
- func TinyMoveToMove(t tinymove.TinyMove, b *board.GameBoard, om *move.Move)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SmallMoveToMove ¶
func SmallMoveToMove(sm tinymove.SmallMove, m *move.Move, tm *tilemapping.TileMapping, bd *board.GameBoard, onTurnRack *tilemapping.Rack)
func TinyMoveToFullMove ¶
func TinyMoveToFullMove(t tinymove.TinyMove, bd *board.GameBoard, ld *tilemapping.LetterDistribution, onTurnRack *tilemapping.Rack) (*move.Move, error)
func TinyMoveToMove ¶
TinyMoveToMove creates a very minimal Move from the TinyMove code. This return value does not contain score info, leave info, alphabet info, etc. It's up to the caller to use a good scheme to compare it to an existing move. It should not be used directly on a board!
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.