Documentation ¶
Index ¶
Constants ¶
View Source
const ( White side = 'w' Black side = 'b' )
View Source
const ( Pawn pieceType = 'p' Rook pieceType = 'r' King pieceType = 'k' Queen pieceType = 'q' Knight pieceType = 'n' Bishop pieceType = 'b' )
Variables ¶
This section is empty.
Functions ¶
func SaveFENGame ¶
Types ¶
type Game ¶
type Game struct { Pieces []*Piece Side side FullMoveClock int HalfMoveClock int Castling castlingStatus EnPassantFile string EnPassantRank string }
func CreateGame ¶
func LoadFENGame ¶
func (*Game) DisplaySlack ¶
func (*Game) DisplayText ¶
Click to show internal directories.
Click to hide internal directories.