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.

24 lines
548 B

2 weeks ago
2 weeks ago
  1. # ychess
  2. ![ychess-logo](ychess.png)
  3. ychess is a chess implementation written in nim.
  4. A chess engine is planned.
  5. ## Todo
  6. - draw by
  7. - 3-fold repitition
  8. - 50-move rule
  9. ## Usage
  10. Simply download the code and run `nim c -r game.nim`.
  11. You can now play a 1v1 hotseat game of chess in the commandline.
  12. ## Testing
  13. Testing is done by `einheit` by [jyapayne](https://github.com/jyapayne/einheit).
  14. All legal chess moves are implemented in `chess.nim` and tested by the TestSuite
  15. in `test.nim`.
  16. You can simply run the tests with `nim c -r test.nim`.