mirror of
https://github.com/tiyn/yeschess.git
synced 2026-02-10 22:24:47 +01:00
1cc88f6bf9091684a3f92deb7c032f4b3888a221
If you castle correctly the toMove attribute of the game object wasnt changed. This is now fixed.
ychess
ychess is a chess implementation written in nim. A chess engine is planned.
Usage
Simply download the code and run nim c -r game.nim.
You can now play a 1v1 hotseat game of chess in the commandline.
Testing
Testing is done by einheit by jyapayne.
All legal chess moves are implemented in chess.nim and tested by the TestSuite
in test.nim.
You can simply run the tests with nim c -r test.nim.
Languages
Nim
100%