18 stable releases

2.2.0 May 10, 2021
2.1.3 Jan 1, 2021
2.1.2 Dec 31, 2020
1.3.4 Dec 19, 2020
1.0.1 Sep 4, 2020

#422 in Games


Used in myopic-brain

MIT license

255KB
7.5K SLoC

myopic board

Representation of the state of play of a chess game with the following features:

  • Efficiently generate legal moves for any state of play
  • Evolve a position forward and backwards
  • Track the positional history of a game
  • Load positions from a FEN string
  • Convert pgn games to moves

Dependencies

~4–5.5MB
~101K SLoC