conversions

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MoveToTinyMove

func MoveToTinyMove(m *move.Move) tinymove.TinyMove

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

func TinyMoveToMove(t tinymove.TinyMove, b *board.GameBoard, om *move.Move)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL