1
0
mirror of https://github.com/tiyn/yeschess.git synced 2025-10-15 12:31:16 +02:00

chess: refactoring setters and try

Setters are not needed as all the assigning gets handled inside the  file.
All Setters were removed.
The try-statements were used to excessively and were changed for manual checking
This commit is contained in:
TiynGER
2020-12-16 03:18:24 +01:00
parent c4f7e3b98d
commit c5cf2fd737
3 changed files with 258 additions and 259 deletions

View File

@@ -22,3 +22,8 @@ You can simply run the tests with `nim c -r test.nim`.
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](https://www.chessprogramming.org/10x12_Board) board is used.