Commit Graph

204 Commits

Author SHA1 Message Date
Mattia Giambirtone 8565472126
Implement strong pawns (10.4 +/- 8.3) 2024-06-06 22:17:43 +02:00
Mattia Giambirtone bff4cb6d49
Add bishop pair to evaluation (15.7 +/- 11.8). WIP for connected rooks and doubled pawns 2024-06-05 18:36:01 +02:00
Mattia Giambirtone 1fdda3a95e
Add improving heuristic to FP (12.1 +/- 9.6), WIP work on some others 2024-06-03 22:20:05 +02:00
Mattia Giambirtone 65701663c8
Drop mimalloc 2024-06-03 14:31:56 +02:00
Mattia Giambirtone 1fddfd514e
Make transposition table use option types 2024-06-02 23:37:59 +02:00
Mattia Giambirtone 2a041560ae
Implement basic aspiration windows (55.6 +/- 25.9) 2024-06-02 12:19:20 +02:00
Mattia Giambirtone 1d476ec664
Fix more zobrist hashing woes (I hate en passant) 2024-06-01 20:00:31 +02:00
Mattia Giambirtone f6b5da05b0
Fix zobrist hashing issues 2024-06-01 13:01:32 +02:00
Mattia Giambirtone 23400cdef7
Add king zone attacks (13.1 +/- 10.2) 2024-05-31 17:59:20 +02:00
Mattia Giambirtone c6794a6a2c
Implement virtual king mobility (76.9 +/- 31.2) 2024-05-30 13:07:36 +02:00
Mattia Giambirtone 258c31dd2c
Add experimental bench command and other minor UCI options. Minor refactoring and changes 2024-05-30 11:10:28 +02:00
Mattia Giambirtone 5825519536
Do not call shouldStop() in qsearch (13.6 +/- 10.6) plus minor other changes 2024-05-29 16:21:10 +02:00
Mattia Giambirtone c2e73a4d9e
Modify LMR amount in PV nodes (37.8 +/- 20.7) 2024-05-29 13:18:10 +02:00
Mattia Giambirtone eded3ea736
Move check extensions before the move loop (13.6 +/- 10.6) 2024-05-29 12:19:03 +02:00
Mattia Giambirtone 168b9d18c9
Revert search extension modification (testing in progress) 2024-05-29 10:19:14 +02:00
Mattia Giambirtone 1dbf538e99
Fix TT bounds (23.1 +/- 15.4) 2024-05-29 02:03:13 +02:00
Mattia Giambirtone 7804f601d9
Fix errors with 2-fold LMR (145.7 +/- 45.8) 2024-05-29 01:03:32 +02:00
Mattia Giambirtone f04336a6b6
Do not use TT cutoffs in pv nodes (SPRT testing in progress) 2024-05-28 16:40:33 +02:00
Mattia Giambirtone a8cef8f3ea
Fix stopping issues with multiple threads 2024-05-28 00:16:40 +02:00
Mattia Giambirtone 10c38e9e85
Update README 2024-05-28 00:00:13 +02:00
Mattia Giambirtone 32c39811f1
Fix pv tracking issues 2024-05-27 23:24:21 +02:00
Mattia Giambirtone e93441ecb5
Minor changes and fixes 2024-05-27 23:18:59 +02:00
Mattia Giambirtone b64d526878
Add balanced book to resources folder 2024-05-27 17:50:13 +02:00
Mattia Giambirtone 593e758ca7
Mask off squares attacked by enemy pawns in mobility calculations (12.6 +/- 9.9) 2024-05-27 17:45:09 +02:00
Mattia Giambirtone 3fd0484892
Fix basic mobility (23.1 +/- 15.3) 2024-05-27 15:04:15 +02:00
Mattia Giambirtone f703cbb980
WIP on mobility evaluation 2024-05-27 11:02:59 +02:00
Mattia Giambirtone 9fe04681c5
Refactoring and cleanup 2024-05-26 13:20:30 +02:00
Mattia Giambirtone 9680565763
Enable Futility Pruning (15.6 +/- 11.7) 2024-05-24 01:17:14 +02:00
Mattia Giambirtone fd6a379471
Hopefully fix pondering with multiple threads 2024-05-23 19:01:07 +02:00
Mattia Giambirtone 658b79cb06
Reset node and depth counters across searches 2024-05-23 18:46:26 +02:00
Mattia Giambirtone 855edca49a
Reimplement move ordering using lazy selection sort 2024-05-23 17:48:18 +02:00
Mattia Giambirtone 174441b726
Refactoring and cleanup. Atomics are now local to each search thread 2024-05-22 16:37:41 +02:00
Mattia Giambirtone 0d2c2a792e
Fix some performance issues 2024-05-22 12:13:28 +02:00
Mattia Giambirtone 698392cc1f
Update README 2024-05-22 10:16:41 +02:00
Mattia Giambirtone a09c697d5d
Implement passed pawns (26.6 +/- 16.7), isolated pawns (31.0 +/- 18.4) and re-tune with larger epochs (10.5 +/- 8.4). Minor performance improvements and fixes. 2024-05-22 08:34:33 +02:00
Mattia Giambirtone 6b3201fc72
Make tuner generate Nim source. Merge rooks on open files (gains 27.3 +/- 17.1). Update .gitignore 2024-05-20 21:20:17 +02:00
Mattia Giambirtone 9ff3f26606
Add rooks on open files to eval (gains 21.4 +/- 14.5) 2024-05-20 16:13:31 +02:00
Mattia Giambirtone b47ccd54bd
Fix tuner and move to tuned weights (gains: 19.7 +/- 13.8) 2024-05-19 21:27:01 +02:00
Mattia Giambirtone 7a4816b836
Update README 2024-05-19 14:41:42 +02:00
Mattia Giambirtone 818c9873a3
More tuner fixes. Make tuner script output a nicer JSON structure 2024-05-19 14:40:26 +02:00
Mattia Giambirtone a44966143d
Fix rebase nonsense 2024-05-19 01:40:41 +02:00
Mattia Giambirtone 24ad374df7 Experiment with razoring and fix various tuner issues 2024-05-19 01:38:09 +02:00
Mattia Giambirtone b02e616e0e Update .gitignore 2024-05-19 01:37:08 +02:00
Mattia Giambirtone 4cba3824fc
Major tuner fixes and improvements 2024-05-17 00:55:45 +02:00
Mattia Giambirtone f53e149af0
Update evaluation and tuner 2024-05-16 14:14:25 +02:00
Mattia Giambirtone 46be23dbb7
Update README 2024-05-15 16:26:10 +02:00
Mattia Giambirtone 946905293d
Fixes to isNotMated and add TT probing in qsearch 2024-05-15 15:52:35 +02:00
Mattia Giambirtone d4dfa6b325 Fix clear() proc for transposition table 2024-05-15 11:09:09 +02:00
Mattia Giambirtone 30b3de233f
Add missing tuner 2024-05-15 00:26:58 +02:00
Mattia Giambirtone 35a21ec8c9
Further work on the tuner. Experimental thread voting (disabled). Preparation for eval improvements 2024-05-15 00:25:23 +02:00