10 stable releases
1.3.0 | May 10, 2021 |
---|---|
1.2.4 | Dec 23, 2020 |
1.0.1 | Aug 28, 2020 |
#1784 in Game dev
33 downloads per month
Used in 2 crates
(via myopic-board)
105KB
3K
SLoC
myopic core utilities
Core chess utilities which include:
- Representation of squares on a board
- Efficient representation of a set of squares (bitboard)
- Representation of pieces involved in a game
- Efficient computation of legal moves for sliding pieces (assuming no advanced restrictions like pins/moving into check) using magic bitboards.
- Hashing features for a state of play
Note no representation of a board or state of play is included.
Dependencies
~1.8–2.5MB
~46K SLoC