✨ Basic implementation of bitboard, board and move
This commit is contained in:
parent
07adc3474a
commit
c21a117a23
7 changed files with 988 additions and 0 deletions
19
pkg/runes/runes.go
Normal file
19
pkg/runes/runes.go
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
package runes
|
||||
|
||||
// The relevant unicode runes for chess are:
|
||||
const (
|
||||
WhiteKing = '♔'
|
||||
WhiteQueen = '♕'
|
||||
WhiteRook = '♖'
|
||||
WhiteBishop = '♗'
|
||||
WhiteKnight = '♘'
|
||||
WhitePawn = '♙'
|
||||
BlackKing = '♚'
|
||||
BackQueen = '♛'
|
||||
BlackRook = '♜'
|
||||
BlackBishop = '♝'
|
||||
BlackKnight = '♞'
|
||||
BlackPawn = '♟'
|
||||
Check = '†'
|
||||
Mate = '‡'
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue