Commit Graph

33 Commits

Author SHA1 Message Date
Mattia Giambirtone 5b3c244206
Fix issues with joinThread and fix nps scaling issues by not using atomic node counters 2024-05-14 11:20:03 +02:00
Mattia Giambirtone 403d5555f1
Experimental parallel search support 2024-05-14 01:45:33 +02:00
Mattia Giambirtone 836e9e6a34
Time limits are updated when the engine stops pondering 2024-05-13 18:31:23 +02:00
Mattia Giambirtone d9e183caf3
Hopefully fix pondering bugs 2024-05-13 17:11:24 +02:00
Mattia Giambirtone 6adae84bca
Minor refactoring and cleanup 2024-05-13 14:51:21 +02:00
Mattia Giambirtone 2c840f2f3c
Remove buggy ponder move tracking as it is already handled by the UCI spec 2024-05-12 23:18:53 +02:00
Mattia Giambirtone 9a7139cdd5 Updated .gitignore 2024-05-12 20:11:57 +02:00
Mattia Giambirtone 218069cc92 Implement pondering 2024-05-12 15:30:10 +02:00
Mattia Giambirtone 1e33ead8a2 Mate score is now positive. Fix mate score reporting. Initial work on eval improvements. Fix passed pawn masks 2024-05-12 14:35:52 +02:00
Mattia Giambirtone db76565aa8 Implement QSEE pruning (gains 52.9 +/- 25.2). Initial work on history malus. Reset search state after ucinewgame + minor other fixes 2024-05-12 01:02:47 +02:00
Mattia Giambirtone e0914e2eb5 Refactor move ordering, implement killer moves, probe TT in qsearch, initial work on aspiration windows 2024-05-09 10:15:00 +02:00
Mattia Giambirtone 9ffa7f6ea6 Fix searches with time per move, preliminary work on eval improvements, minor changes and fixes 2024-05-07 13:40:48 +02:00
Mattia Giambirtone 7292356948 Fix crashing, implement LMR and tempo bonus 2024-05-06 23:48:40 +02:00
Mattia Giambirtone 2a1f020edd Fix bugs with LMR (needs testing). Move to ptrs. General refactoring 2024-05-06 00:34:06 +02:00
Mattia Giambirtone 245a5d75e8 Initial work on killer moves. Add soft tm (gains 41.8 +/- 22.0) 2024-05-05 16:07:37 +02:00
Mattia Giambirtone 651acd26ed Implement history euristic (gain: 73.1 +/- 30.2) 2024-05-05 13:37:33 +02:00
Mattia Giambirtone 0695fff442 Refactor code to eliminate refs shared across thread boundaries 2024-05-04 20:30:26 +02:00
Mattia Giambirtone d5f3071733 Remove useTT compile time flag 2024-05-02 19:08:30 +02:00
Mattia Giambirtone 5100bc744c Fix TT: Gains 83.0 +/- 32.5 elo 2024-05-02 19:07:20 +02:00
Mattia Giambirtone 316a63303c Fix incremental zobrist hashing, fix repetition detection, add ttmove, wait for search thread to complete 2024-05-02 14:39:46 +02:00
Mattia Giambirtone fe453aa3fd Hopefully fix crashing issues 2024-05-02 00:24:57 +02:00
Mattia Giambirtone fe7e64e9c3 Refactor chessboard code and move most logic to Position 2024-05-01 19:46:28 +02:00
Mattia Giambirtone e6dd6fcf4c Minor refactoring and cleanup. Switch away from boehm GC as that's too slow 2024-05-01 16:54:08 +02:00
Mattia Giambirtone b865ece113 Pregenerate pawn attacks (currently unused). Attempts at fixing random crashing 2024-05-01 16:30:21 +02:00
Mattia Giambirtone d3170ab03a Hide untested options behind when defined(), increase size of some position counters, tweak MVVLVA multiplier and more fixes 2024-04-28 16:17:30 +02:00
Mattia Giambirtone 679965c438 Remove unnecessary modules and refactor some things. WIP on testing broken Zobrist hashing 2024-04-27 15:00:03 +02:00
Mattia Giambirtone 19f2c7ab58 Fix some bugs in movegen. Untested TT
Signed-off-by: Mattia Giambirtone <nocturn9x@nocturn9x.space>
2024-04-26 11:41:59 +02:00
Mattia Giambirtone d47040feed Initial work on transposition table and repetition detection
Signed-off-by: Mattia Giambirtone <nocturn9x@nocturn9x.space>
2024-04-25 23:41:25 +02:00
Mattia Giambirtone 1aa37d8af8 Initial work on Zobrist hashing. Add Pohl opening book 2024-04-25 18:53:51 +02:00
Mattia Giambirtone 40b47053c1 Massive eval improvement. Perform search in a separate thread. Implement more UCI commands 2024-04-25 15:20:55 +02:00
Mattia Giambirtone a94d9ae1f0 Initial work on search and eval 2024-04-24 19:38:54 +02:00
Mattia Giambirtone 51ef1ff9db More UCI ground work 2024-04-24 12:38:03 +02:00
Mattia Giambirtone b4d2c5cbef Add heavy tests. Fix minor bugs. Initial work on UCI interface 2024-04-24 10:41:01 +02:00