1
0
mirror of https://github.com/tiyn/yeschess.git synced 2025-04-02 15:07:47 +02:00

16 Commits

Author SHA1 Message Date
TiynGER
9b68538b12 readme: specified plan for engine 2020-12-16 03:29:43 +01:00
TiynGER
c5cf2fd737 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
2020-12-16 03:18:24 +01:00
TiynGER
c4f7e3b98d chess: improved documentation and deleted unused stuff 2020-12-16 02:42:58 +01:00
TiynGER
81d5d57e75 chess: refactoring getters
Getters are not needed according to the official nim documentation.
https://nim-lang.org/docs/manual.html#procedures-properties
Getters were replaced accordingly
2020-12-16 01:03:06 +01:00
TiynGER
75e804ef6f chess/game: claimable draw at 50-Move-Rule added 2020-12-15 23:31:42 +01:00
TiynGER
9ed8b886db chess/game: claimable draw at 3-fold repitition added 2020-12-15 20:30:04 +01:00
TiynGER
7caa4db120 game bugfix: game isnt stopped after stalemate 2020-12-15 18:09:27 +01:00
TiynGER
8e918aebb7 chess: draw by insufficient material added 2020-12-15 17:31:15 +01:00
TiynGER
2b4598785d readme: added logo 2020-12-14 23:42:08 +01:00
TiynGER
1cc88f6bf9 game bugfix: after castling toMove wasnt changed
If you castle correctly the toMove attribute of the game object wasnt changed.
This is now fixed.
2020-12-14 22:50:28 +01:00
TiynGER
67a3ab4579 readme/license: updated/added 2020-12-14 18:00:05 +01:00
TiynGER
97406d4da3 tests: added unittests
Due to the official nim documentation the snake_case was now swapped
for camelCase.
Tests for nearly any move were added.
A new procedure can initialize a game with a given 8x8 board with pieces and determines if
they have been moved already.
2020-12-14 17:52:49 +01:00
TiynGER
f749f66c3c chess: code reformatting 2020-12-14 01:07:10 +01:00
TiynGER
e30ff1f3ba chess/game: base game completely implemented
All moves including en-passant and castling are implemented.
Game now features a proof of concept game.
Some cleanup still needs to be done.
2020-12-13 20:43:07 +01:00
TiynGER
b30aa89dc0 base: chess now basically works
The most important movements and even en passant and castling are implemented.
A cli game is not done for now.
An engine is the goal of the project, but will be focussed at the end of the basic development.
2020-12-12 22:57:02 +01:00
Marten
3747b1ae49
Initial commit 2020-12-12 22:51:15 +01:00