ychess is a chess implementation and engine 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 c5cf2fd737
chess: refactoring setters and try
4 years ago
LICENSE readme/license: updated/added 4 years ago
README.md chess: refactoring setters and try 4 years ago
chess.nim chess: refactoring setters and try 4 years ago
game.nim chess/game: claimable draw at 3-fold repitition added 4 years ago
test.nim chess: refactoring setters and try 4 years ago
ychess.png readme: added logo 4 years ago

README.md

ychess

ychess-logo

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.

Documentation

Documentation is written into the code via DocGen. For this reason it is not saved in this repository. To extract it into html run nim doc --project --index:on --outdir:htmldocs game.nim

Board Representation

Due to easier off the board checking a 10x12 board is used.