Documentation ¶
Index ¶
- Variables
- type Bitboard
- func (bb Bitboard) Count() int
- func (bb Bitboard) Doubles() Bitboard
- func (bb Bitboard) East() Bitboard
- func (bb Bitboard) Get(sq Square) bool
- func (bb Bitboard) LSB() uint8
- func (bb Bitboard) North() Bitboard
- func (bb Bitboard) NorthEast() Bitboard
- func (bb Bitboard) NorthWest() Bitboard
- func (bb *Bitboard) Set(sq Square)
- func (bb Bitboard) Singles() Bitboard
- func (bb Bitboard) South() Bitboard
- func (bb Bitboard) SouthEast() Bitboard
- func (bb Bitboard) SouthWest() Bitboard
- func (bb *Bitboard) Unset(sq Square)
- func (bb Bitboard) West() Bitboard
- type Move
- type Position
- func (pos *Position) CountMoves() int
- func (pos *Position) Gameover() bool
- func (pos *Position) Get(sq Square) int
- func (pos *Position) GetFen() string
- func (pos *Position) LegalMoves() []Move
- func (pos *Position) MakeMove(move Move)
- func (pos Position) Perft(depth int) uint64
- func (pos Position) Print()
- func (pos *Position) Set(sq Square, piece int)
- func (pos *Position) SetFen(fen string)
- func (pos *Position) Them() Bitboard
- func (pos *Position) Turn() int
- func (pos *Position) Us() Bitboard
- type Square
Constants ¶
This section is empty.
Variables ¶
View Source
var NULLMOVE = Move{Square{49}, Square{49}}
NULLMOVE ...
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.