ychess is a chess implementation written in nim.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TiynGER 8e918aebb7 chess: draw by insufficient material added 2 weeks ago
LICENSE readme/license: updated/added 2 weeks ago
README.md chess: draw by insufficient material added 2 weeks ago
chess.nim chess: draw by insufficient material added 2 weeks ago
game.nim tests: added unittests 2 weeks ago
test.nim chess: draw by insufficient material added 2 weeks ago
ychess.png readme: added logo 2 weeks ago

README.md

ychess

ychess-logo

ychess is a chess implementation written in nim. A chess engine is planned.

Todo

  • draw by
    • 3-fold repitition
    • 50-move rule

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.