This packet contains a 2 player chess game that can be run on the local machine. Technology Stack: C++, STL Library)
Super light-weight transportable zero-dependency chess library written in simple C++, completely test-covered.
It implements a simple to use chessboard and moves categories you'll use for your chess UI.
Chess rules are terribly sophisticated if you concentrate on all the situations of the castle, pinned positions. This implementation can get all the moves right and tell you if the position is check/checkmate/stalemate while using next to negligible CPU/RAM.
Submitted by Prajjwal Chittori (prajjwal)
Download packets of source code on Coders Packet