Commit Graph

41 Commits

Author SHA1 Message Date
ede46552fe
feat: uci options, quiet position detector 2024-12-28 15:59:27 -05:00
fc8eab4d4b
feat: exact movetime based time management 2024-12-28 14:29:05 -05:00
caa3bc454c
tune: completely disable contempt by default 2024-12-26 15:27:00 -05:00
68d3d7e6d9
tune: further reduce default contempt factor 2024-12-26 14:59:16 -05:00
089b7b305c
tune: reduce contempt
contempt factor as of last commit loses some games
2024-12-26 13:40:47 -05:00
3fe4b8c196
feat: contempt factor 2024-12-26 11:18:48 -05:00
093dc51eed
tune: make only three repetitions (not two) evaluate as draw
this commit might fix some positions being evaluated as zero
2024-12-25 20:08:32 -05:00
955c9f1f5e
fix: do not play a nullmove in a drawn position 2024-12-25 16:42:58 -05:00
cac74a46cd
tune: reduce board history size
seemingly avoiding repetition performs worse as of last commit.
2024-12-25 16:15:37 -05:00
db365c124e
feat: detect draw by repetition 2024-12-25 15:05:41 -05:00
8137cbc2fe
tune: increase max depths for search 2024-12-25 12:06:37 -05:00
0120c95097
feat: stand-pat on quiescence search
gotta remember that not capturing is an option too
2024-12-24 16:46:47 -05:00
ab7ce6b6a2 tune: revert "tune: quiescence depth increased"
This reverts commit 5a9e17804c.

tests seem to show this is bad compared to before this commit
2024-12-24 13:48:30 -05:00
5a9e17804c
tune: quiescence depth increased
4cb2cca doesn't seem to have any difference positive or negative in the
5+0 time control, so try this instead
2024-12-24 12:04:53 -05:00
4cb2cca02b
tune: quiescence 2024-12-24 11:27:48 -05:00
795c2c508d
feat: quiescence search
examines all captures using the new movegen, plus static exchange eval
2024-12-23 21:28:04 -05:00
4ee30bd278
feat: recapture extension
"quiescence" search
2024-12-20 22:50:35 -05:00
b0a662460a
feat: better move ordering
use transposition table as the primary heuristic
2024-12-20 16:25:03 -05:00
68afcb232c
feat: transposition table node types
engine seemingly faster now, so allow longer soft limit (as a treat)
2024-12-20 16:01:05 -05:00
ab1dfb3aa1
tune: time limits for games longer than 5' 2024-12-20 14:59:18 -05:00
e44cc0586e
feat: soft/hard time limit
achieved by refactoring engine/main/stdin into three separate threads.
2024-12-20 13:25:37 -05:00
6be00e642e
refactor: use EngineState to structure data in the engine 2024-12-18 23:52:39 -05:00
b9819a52e6
tune: pst and transposition table 2024-11-23 22:39:39 -05:00
f415a9148c
fix: wrong logic on skepticism 2024-11-23 21:37:19 -05:00
c494230706 feat: skepticism
garbage mitigation for the horizon problem
2024-11-23 21:17:20 -05:00
3dcd27013d
feat: transposition table can now directly decide move
it's no longer just a suggestion
2024-11-23 19:13:02 -05:00
5ef46b3e7a feat: basic time management
this commit is full of tech debt. but the engine can flag now
2024-11-20 12:19:09 -05:00
8075e19bee feat: basic transposition table 2024-11-17 14:02:47 -05:00
71594051f5 chore: fix warnings 2024-11-16 21:56:53 -05:00
4ca186b67e chore: fmt 2024-11-16 21:55:56 -05:00
987ec7656f fix: alpha-beta test 2024-11-16 21:53:32 -05:00
bec310c182 feat: iterative deepening 2024-11-16 15:57:01 -05:00
69dfa98bef fix: remove attempt at quiescence search
it does not help at all
2024-11-15 21:59:15 -05:00
d1506e4d6c feat: quiescence search, lvv-mva 2024-11-04 14:08:29 -05:00
da6b3f20f9 test: alpha-beta results are the same as without 2024-11-02 21:53:54 -04:00
96b4816f84 feat: some extra uci info about the best line, etc 2024-11-02 19:33:29 -04:00
b7b3c6c5b8 fix: not going for checkmate
engine will now prioritize closer mates rather than continuously going
"ah i'll checkmate next move" then never checkkmating
2024-11-02 16:05:04 -04:00
9b447ca039 refactor: simplify move gen public interface 2024-11-01 21:58:38 -04:00
8d5ea3de31 perf: alpha-beta pruning 2024-10-27 17:34:41 -04:00
39d5ebc2b3 fix: not escaping checkmates 2024-10-26 21:05:51 -04:00
7d0d81905e feat: basic basic search 2024-10-26 19:53:20 -04:00