Documentation ¶
Index ¶
- Variables
- func AvailableLines(ctx context.Context, b *tpb.Board, player *tpb.Player, ...) ([]*tpb.Line, error)
- func GetNextPlayer(ctx context.Context, b *tpb.Board) (*tpb.Player, error)
- func LayTile(ctx context.Context, b *tpb.Board, move *tpb.Placement) (*tpb.Board, error)
- func LegalMoves(ctx context.Context, b *tpb.Board, p *tpb.Player) ([]*tpb.Placement, error)
- func NextStartsAndPips(ctx context.Context, line *tpb.Line) ([]*tpb.Coord, int32, error)
- func SetupBoard(ctx context.Context, b *tpb.Board, lastLeaderPips int32) (*tpb.Board, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Debug = false
Functions ¶
func AvailableLines ¶
func LegalMoves ¶
func NextStartsAndPips ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.