145 Commits

Author SHA1 Message Date
Karma Riuk
31b0656332 fixed promotion missing colour 2025-02-02 23:16:53 +01:00
Karma Riuk
24165bb5bb made comment more accurate 2025-02-02 23:14:13 +01:00
Karma Riuk
4c8fdfa3b4 implemented en passant in legal moves 2025-02-02 23:13:37 +01:00
Karma Riuk
84c3af2bb1 fully support FEN strings now
Some checks failed
pre-release / Pre Release (push) Has been cancelled
tagged-release / Tagged Release (push) Has been cancelled
2025-02-02 23:05:42 +01:00
Karma Riuk
22acfc5027 fixed slight bug 2025-02-02 23:05:26 +01:00
Karma Riuk
1ff4b6b1f4 implemented the en passant target support for FEN
strings
2025-02-02 22:52:46 +01:00
Karma Riuk
2493892b05 added algebraic support for coordinates 2025-02-02 22:39:06 +01:00
Karma Riuk
bdd8011577 now support the castling sides of the FEN string 2025-02-02 22:05:33 +01:00
Karma Riuk
5549c77177 updated testing library 2025-02-02 22:04:41 +01:00
Karma Riuk
be016dcbcc fixed type mismatch 2025-02-02 22:04:31 +01:00
Karma Riuk
efd7bf6794 gave default values to the board fields because
they were causing undefinied behaviour
2025-02-02 22:04:04 +01:00
Karma Riuk
81b24d3082 extended FEN support to include who's turn it is 2025-02-02 21:39:33 +01:00
Karma Riuk
497da2de8e updated assert equals to fail fast 2025-02-02 21:39:02 +01:00
Karma Riuk
0574a11b32 fixed minor bug 2025-02-02 21:37:43 +01:00
Karma Riuk
472f9e4c7c made CastleSide a normal enum again to use &
Some checks failed
tagged-release / Tagged Release (push) Has been cancelled
2025-02-02 21:30:37 +01:00
Karma Riuk
f5292fa6d7 added small comment 2025-02-02 21:22:38 +01:00
Karma Riuk
8a3a92f80f minor change 2025-02-02 21:14:31 +01:00
Karma Riuk
b7ad7b3111 implemented king legal moves 2025-02-02 21:14:14 +01:00
Karma Riuk
b329c41bea got rid of magic numbers 2025-02-02 21:13:30 +01:00
Karma Riuk
1625345f08 fixed board.cpp 2025-02-02 20:28:50 +01:00
Karma Riuk
a790677bb7 implemented queen legal moves 2025-02-02 20:28:41 +01:00
Karma Riuk
703dcef59f implemented knight legal moves 2025-02-02 20:24:42 +01:00
Karma Riuk
d74222c2f4 implemented rook legal moves 2025-02-02 20:19:07 +01:00
Karma Riuk
01c912435b implemented bishop legal moves 2025-02-02 20:17:36 +01:00
Karma Riuk
8bf164cb05 extracted coords to its own hpp 2025-02-02 20:17:27 +01:00
Karma Riuk
e08dbb913e fixed board and pawn moves 2025-02-02 19:49:21 +01:00
Karma Riuk
fea3f6c98a fixed signature 2025-02-02 18:24:23 +01:00
Karma Riuk
da55f0085f implemented (partially) the pawn move 2025-02-02 18:17:37 +01:00
Karma Riuk
95327ec653 cleaned up main 2025-02-02 18:17:19 +01:00
Karma Riuk
1a4e33201e when loading a fen ref, i return the object and
not a pointer
2025-02-02 18:17:02 +01:00
Karma Riuk
d6baf1ee53 added main to gitignore 2025-02-02 18:16:45 +01:00
Karma Riuk
67e377bfde made some seperation of concerns 2025-02-02 17:16:37 +01:00
Karma Riuk
29453fbb14 implemented some stuff 2025-02-02 17:13:55 +01:00
Karma Riuk
585e392b6a created move struct 2025-02-02 16:49:24 +01:00
Karma Riuk
d436c5a032 made stuff a tiny bit more compact 2025-02-02 16:49:10 +01:00
Karma Riuk
08c0a3b50b added test support to the makefile 2025-02-02 16:37:59 +01:00
Karma Riuk
0ae37a3eba did some stuff to make makefile work... it was
painful
2025-02-02 16:26:46 +01:00
Karma Riuk
c83129a0d5 added cpp gitignore 2025-02-02 15:31:45 +01:00
Karma Riuk
acfa27c83e removed binary files 2025-02-02 15:21:04 +01:00
Karma Riuk
85a5bfa328 moved some stuff around 2025-02-02 15:15:14 +01:00
Karma Riuk
139a5c7d8f fixed missing imports
Some checks are pending
pre-release / Pre Release (push) Waiting to run
2025-02-02 14:54:17 +01:00
Karma Riuk
3a2988d351 fixed permissions of fields 2025-02-02 14:53:17 +01:00
Karma Riuk
c758d1854f removed useless imports 2025-02-02 14:52:47 +01:00
Karma Riuk
53a0755547 extracted the assert equals to another file to
have mulitple test files
2025-02-02 14:52:13 +01:00
Karma Riuk
4792daf127 cpp board can go back and forth from FEN
Some checks failed
pre-release / Pre Release (push) Waiting to run
tagged-release / Tagged Release (push) Has been cancelled
2025-02-02 14:50:44 +01:00