28 Commits

Author SHA1 Message Date
Karma Riuk
6951b860da forgot to push the normal moves for the pawn, fixed it now 2025-02-03 14:05:32 +01:00
Karma Riuk
805d9fa95c fixed implicit type casting (warning) 2025-02-03 14:05:16 +01:00
Karma Riuk
4df7cbf01a fixed piece recognition 2025-02-03 14:04:52 +01:00
Karma Riuk
00137e022a fixed move for position initial guard 2025-02-03 14:04:27 +01:00
Karma Riuk
570b8df4a7 fixed look_direction 2025-02-03 14:04:18 +01:00
Karma Riuk
41e4119468 reordered members of enum 2025-02-03 13:51:43 +01:00
Karma Riuk
ce06097063 i forgot to actually implement the root legal_moves haha 2025-02-03 01:12:30 +01:00
Karma Riuk
dc3031ddc1 we can finally print pieces and colours properly 2025-02-03 01:05:37 +01:00
Karma Riuk
fa57dcfc30 apparently the default value of a paramter goes in
the declaration and not the defintion, i didn't know that
2025-02-03 00:08:13 +01:00
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
be016dcbcc fixed type mismatch 2025-02-02 22:04:31 +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
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
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
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