153 Commits

Author SHA1 Message Date
Karma Riuk
a47dc9b695 Merge branch 'main' into opti-2-compacting-move
Some checks failed
pre-release / Pre Release (push) Waiting to run
tagged-release / Tagged Release (push) Has been cancelled
v0.7.2
2025-02-05 15:37:57 +01:00
Karma Riuk
e8ca1db8d6 using the thread pool for each move in the top
Some checks failed
tagged-release / Tagged Release (push) Has been cancelled
level of the search (x4~ improvement)
v0.7.1
2025-02-05 15:30:55 +01:00
Karma Riuk
73b2a5b51b created threadpool 2025-02-05 15:17:10 +01:00
Karma Riuk
3f3017a389 removed useless comments 2025-02-05 14:41:23 +01:00
Karma Riuk
f768d16a7e removed en passant from move 2025-02-05 14:41:16 +01:00
Karma Riuk
a658673d2b remove castle side from move 2025-02-05 14:36:00 +01:00
Karma Riuk
222adbb8f0 removed the is_capturing flag of move 2025-02-05 14:25:35 +01:00
Karma Riuk
c55645ad73 using global peft
Some checks failed
pre-release / Pre Release (push) Waiting to run
tagged-release / Tagged Release (push) Has been cancelled
v0.7.0
2025-02-04 21:53:07 +01:00
Karma Riuk
1b0af3b486 annotated each depths with its time (to then
compare with the different optimizations)
2025-02-04 21:52:07 +01:00
Karma Riuk
df20060075 added global peft 2025-02-04 21:51:58 +01:00
Karma Riuk
151a50fba9 made move str better (includes promotion) 2025-02-04 21:51:14 +01:00
Karma Riuk
609d5f8c98 fixed castle right rook capture coords 2025-02-04 21:50:43 +01:00
Karma Riuk
e9c96e83da fixed en passant offset 2025-02-04 21:50:30 +01:00
Karma Riuk
76310400e8 added empty line before move counts to ease copying 2025-02-03 23:41:27 +01:00
Karma Riuk
e5bb2d1a5f printing moves normally 2025-02-03 23:41:16 +01:00
Karma Riuk
4c86d5e815 fixed castling rights on capture 2025-02-03 23:40:30 +01:00
Karma Riuk
b1812f1df6 removed the inclusion of move in piece 2025-02-03 19:10:49 +01:00
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