Commit Graph

24 Commits

Author SHA1 Message Date
stefiosif
2d9076cd1d Add depth based logging 2025-01-25 21:47:11 +02:00
stefiosif
2ed92f9253 Add PVS 2025-01-25 21:45:15 +02:00
stefiosif
62c524174e Fix and simplify move ordering 2025-01-25 16:39:04 +02:00
stefiosif
d8cc3b74a2 Change a/b to fail-soft 2025-01-25 09:16:51 +02:00
stefiosif
29d69b5ab1 Add repetition detection 2025-01-19 20:15:23 +02:00
stefiosif
1c7100f510 Use TT to store best move after each ID iteration 2025-01-18 17:44:27 +02:00
stefiosif
824f8a37b5 Add TT lookups in quiescence, move TT inside Game, remove redundant occupancy and time limit functions 2025-01-18 13:01:06 +02:00
stefiosif
316f40e6e5 Remove tt cutoffs, fix capture move sorting, refactor 2024-11-30 00:04:53 +02:00
stefiosif
c2414c3f6e Make mvv_lva to map pieces to their material score instead of abritrary matrix
Add time limits, use anyhow crate to improve error handling, remove depth limit on quiescence search
2024-11-13 21:47:26 +02:00
stefiosif
e2d3185bbe Add tt node in case of best score >= alpha 2024-11-10 14:17:55 +02:00
stefiosif
1b28de5064 Refactor based on clippy, move tt to search module and call iterative deepening from uci_go 2024-11-03 01:19:12 +02:00
stefiosif
ff6bbafc50 Add depth limit on quiescence, add node/timer measurements 2024-10-16 21:36:48 +03:00
stefiosif
b2df931d48 Probe TT at each negamax recursion and store entries based on bounds 2024-10-14 23:57:54 +03:00
stefiosif
a96d3d27b1 Pass Mailbox instead of Game on related functions for clarity 2024-09-21 15:42:41 +03:00
stefiosif
f74f1ef364 Implement redundant mailbox representation 2024-09-19 22:57:03 +03:00
stefiosif
f128b35252 Move make/unmake and History on Game 2024-09-16 19:33:05 +03:00
stefiosif
3383435af7 Move MoveParameter handling inside make/unmake_move 2024-09-16 19:33:05 +03:00
stefiosif
6badbcd776 Rename movegen module files and make readability improvements 2024-09-16 19:33:05 +03:00
stefiosif
b26357a205 Add move ordering heuristic MVV/LVA 2024-09-14 20:29:53 +03:00
stefiosif
2093d91dfa Refactor some clippy-pedantic errors 2024-09-06 20:30:57 +03:00
stefiosif
6b9650a6f0 Improve readability and remove redundant code 2024-09-06 20:07:10 +03:00
stefiosif
0815837cd5 Return early if king is under check and small refactorings 2024-09-04 18:57:00 +03:00
stefiosif
fec27b0d02 Implement quiescence search for leaf nodes 2024-09-04 18:56:20 +03:00
stefiosif
e817229d12 Convert minimax to negamax and implement alpha-beta pruning 2024-09-03 20:35:08 +03:00