Skip to content

Super lightweight portable zero-dependency chess library written in simple C++

License

Notifications You must be signed in to change notification settings

witaly-iwanow/fatpup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fatpup

Super lightweight portable zero-dependency chess library written in simple C++, thoroughly test-covered. It implements an easy to use chess board and move classes you can use for you chess UI. Chess rules are very complicated if you consider all the scenarios of castling, pinned pieces and such - 9 out of 10 hobby chess projects on GitHub cannot even handle en passant and/or castling properly. Fatpup will get all the moves right and tell you if the position is check/checkmate/stalemate using next to zero CPU/RAM.

It's not a chess engine though, i.e. it won't tell you which move is the best. Fatpup objective is something like an online chess server running on Raspberry Pi handling 1M games simultaneously. Although there's a simple minimax engine that demonstrates how to use the API, as well as dependent github projects focusing on cross-platform chess UI (based on SDL2 and SFML2).

Screenshot Screenshot