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.

23 lines
526 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. - 50-move rule
  8. ## Usage
  9. Simply download the code and run `nim c -r game.nim`.
  10. You can now play a 1v1 hotseat game of chess in the commandline.
  11. ## Testing
  12. Testing is done by `einheit` by [jyapayne](https://github.com/jyapayne/einheit).
  13. All legal chess moves are implemented in `chess.nim` and tested by the TestSuite
  14. in `test.nim`.
  15. You can simply run the tests with `nim c -r test.nim`.