Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Bags [NumPieces * NumPieces * NumPieces][3]Piece
Functions ¶
This section is empty.
Types ¶
type Board ¶
type Board [10][10]Color
A Board represents a tenten game board.
type Game ¶
type Game struct {
// contains filtered or unexported fields
}
type Piece ¶
type Piece int
const ( Line1x2 Piece // vertical line, length 2 Line1x3 // vertical line, length 3 Line1x4 // vertical line, length 4 Line1x5 // vertical line, length 5 Line2x1 // horizontal line, length 2 Line3x1 // horizontal line, length 3 Line4x1 // horizontal line, length 4 Line5x1 // horizontal line, length 5 Ltr2x2 // small l, missing top right Ltl2x2 // small l, missing top left Lbr2x2 // small l, missing bottom right Lbl2x2 // small l, missing bottom left Ltr3x3 // big l, missing top right Ltl3x3 // big l, missing top left Lbr3x3 // big l, missing bottom right Lbl3x3 // big l, missing bottom left Sq1x1 // 1x1 square Sq2x2 // 2x2 square Sq3x3 // 3x3 square NumPieces = int(Sq3x3) )
Click to show internal directories.
Click to hide internal directories.