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

22 Commits

Author SHA1 Message Date
TiynGER
ca73df4fbb configs and projectPath
In the last few commits the problem occured
that absolute paths are needed for correct
and unambiguous locations for binary files
or the database.
For the compiler arguments the problem is now
solved with an automatic script, that creates
the absolute paths automatically for different
systems.
The database path is now specified by calling
a new function, that finds the root of the
project followed by a relative path.
2021-05-17 00:01:18 +02:00
TiynGER
e306de0573 refactoring: absolute path for db, general refactoring
Due to the path for the db being relative it came
to problems when importing the openingBook.nim file
in other modules (especially in ).
To change this i added a variable, that needs to point to the
root directory of the project.
Additionally i set some coding guidelines and enforced them
into the current codebase.
2021-05-16 03:15:40 +02:00
TiynGER
80772462da documentation: updated the readme documentation
The readme was partly outdated.
I decided not to put in depth documentation into
the readme.
Additionally i added missing docstrings into posMoveDB
2021-05-15 02:33:21 +02:00
TiynGER
2d021366cb art: created art dir and moved pictures into it 2021-05-14 23:57:17 +02:00
marten
acb6a1ad77
readme: removed not working notice for engine 2021-05-14 21:15:39 +02:00
TiynGER
d5ac25a642 readme: added move notation documentation 2021-05-08 01:15:49 +02:00
TiynGER
3c97395ce8 refactoring: cleanup engine code and add alpha beta to readme 2021-05-03 17:09:48 +02:00
TiynGER
b7480a0cd4 engine: added piece-square tables
Piece square tables are a way to encurage the engine to
put pieces on active squares.
Each piece got a corresponding table.
2021-05-03 02:01:36 +02:00
TiynGER
9095cf8eee engine: engine now correctly uses the negamax algorithm
NegaMax is a simplified version of the MiniMax algorithm that
doesn't need different subroutines for the different colors.
The testcases were selected and extended.
Evaluation now has values for draws and wins.
2021-05-01 01:58:26 +02:00
TiynGER
91281d97a7 lichess: added lichess integration
Lichess is a free and open source platform to play chess.
Connection is realized via the berserk python plugin that uses the lichess api.
2021-04-29 01:15:54 +02:00
TiynGER
7fb821254c game: added single player
Integrated the engine into the playable game.
Created a menu to choose between single player and hotseat.
Added a way to choose difficulty and color in single player.
2021-04-27 23:13:41 +02:00
TiynGER
4e69bd3977 engine: Readme update according to used algorithm 2021-04-27 00:55:30 +02:00
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
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
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
67a3ab4579 readme/license: updated/added 2020-12-14 18:00:05 +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