236 Commits

Author SHA1 Message Date
Karma Riuk
9d21141d3c fixed pawn capture + promotion action 2025-02-03 19:10:07 +01:00
Karma Riuk
974af5d19f we can now print a move (stockfish stile) 2025-02-03 19:09:21 +01:00
Karma Riuk
df07b4399d minor fix 2025-02-03 19:09:13 +01:00
Karma Riuk
fa59784230 fixed castling rights that were not removed
properly
2025-02-03 19:08:26 +01:00
Karma Riuk
be34045f92 minor fix 2025-02-03 19:08:21 +01:00
Karma Riuk
4eaed699c0 fixed en passant capture 2025-02-03 16:26:31 +01:00
Karma Riuk
310abb0611 fixed slight mistake 2025-02-03 16:12:20 +01:00
Karma Riuk
b70ca5302a put back good code 2025-02-03 15:36:11 +01:00
Karma Riuk
83af5f0b97 removed problemaic code 2025-02-03 15:35:43 +01:00
Karma Riuk
72ba6a80ae made types behave 2025-02-03 15:35:03 +01:00
Karma Riuk
1723356f62 removed useless stuff 2025-02-03 15:34:52 +01:00
Karma Riuk
75adb4b1ba removed already existing variable 2025-02-03 15:34:12 +01:00
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
9a66a71c38 handling better the output of perft 2025-02-03 13:59:33 +01:00
Karma Riuk
41e4119468 reordered members of enum 2025-02-03 13:51:43 +01:00
Karma Riuk
e7fc1b06de fixed the is_within_bounds check 2025-02-03 13:50:48 +01:00
Karma Riuk
5f79b81ce4 added validity check when creating coords from index 2025-02-03 13:50:34 +01:00
Karma Riuk
e5819ee83b minor fix 2025-02-03 13:50:15 +01:00
Karma Riuk
58109c5120 fixed condition 2025-02-03 13:49:40 +01:00
Karma Riuk
6478176a7d fixed check condition 2025-02-03 13:47:27 +01:00
Karma Riuk
ab088da33c removed useless this-> 2025-02-03 13:47:17 +01:00
Karma Riuk
31799cb0ec added optimization and warning flags to the compiler 2025-02-03 13:44:53 +01:00
Karma Riuk
96dcbc0a6c actually counting milliseconds now 2025-02-03 13:41:45 +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
3fc2aa73ad actually counting milliseconds now 2025-02-03 01:06:07 +01:00
Karma Riuk
de6a03ce08 fixed mistake 2025-02-03 01:05:59 +01:00
Karma Riuk
dc3031ddc1 we can finally print pieces and colours properly 2025-02-03 01:05:37 +01:00
Karma Riuk
5e4b880aad checking perft to see if my cpp implementation is
correct
2025-02-03 00:33:12 +01:00
Karma Riuk
540ffa4fb3 fixed slight mistake 2025-02-03 00:33:04 +01:00
Karma Riuk
21136a26f0 implemented the last details to make everything
work (hopefully)
2025-02-03 00:08: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
8da349579d make_move now checks castle rights after each move 2025-02-02 23:52:24 +01:00
Karma Riuk
f0467bc516 make_move now handles castling 2025-02-02 23:34:10 +01:00
Karma Riuk
a7cf8e0c21 make_move now handles the setting of en passant
targets
2025-02-02 23:33:52 +01:00
Karma Riuk
2128159914 make_move now handles promotion 2025-02-02 23:33:29 +01:00
Karma Riuk
c564add509 removed useless variable 2025-02-02 23:33:20 +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
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
v0.6.0
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