Skip to content

ADV1K/out-of-stock-fish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Out Of Stock Fish

A chess engine written in go

chess board

Board Representation

For the board representation I'm using 8 bitboards, 6 for the pieces and 2 for colors. Other than this I'm storing WhiteToPlay and castling rights as bits inside of Flags which is a uint16 I'm storing EnPassantSquare as a uint8. At last I'm storing move count HalfMoveClock and FullMoveCount as uint16 separately. The complete board representation takes 72 bytes with 8-byte alignment.

Todo

  • implement uci
  • create legal moves generator

WebAssembly

About

A chess engine written in go

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published