1
0
mirror of https://github.com/tiyn/yeschess.git synced 2026-02-22 02:34:46 +01:00

7 Commits

Author SHA1 Message Date
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
73f32e8598 project structure
The project previously wasnt structured very
well.
Now the engine has its own module so its more
visible what file belongs to what topic.
2021-05-15 02:10:29 +02:00
TiynGER
b3c76fd2c1 visibility: use include in tests and only set needed functions as public 2021-05-03 00:15:58 +02:00
TiynGER
10098da82f refactoring: renaming classes and functions
Renamed the 'game' type to 'chess' to make more sense
of the existing filestructure.
Doubled functions where removed.
2021-05-01 16:21:30 +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
c91bf64047 chess restructuring: changed order of functions 2020-12-18 00:25:22 +01:00
TiynGER
0ceb567048 structure: made a src folder and moved all source file into it 2020-12-16 04:24:19 +01:00