Commit Graph

93 Commits

Author SHA1 Message Date
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
1843c5c4c6
build: update msrv to 1.83 and remove beta compiler
const &mut was stabilized.
2024-12-06 19:58:44 -05:00
ae3a23c61f
tune: timing and pst 2024-11-24 14:59:40 -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
e8cb125df9
tune: piece square tables
make it not be as crazy
2024-11-23 20:15:39 -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
e79f19942e
perf: zobrist table no longer compares hash before overwrites 2024-11-23 18:51:49 -05:00
8895770da6
chore: fmt 2024-11-23 18:43:36 -05:00
af18600d15
refactor: move to main.rs file and add prelude 2024-11-23 18:42:36 -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
6b672f83dc feat: perft zobrist cache 2024-11-17 13:07:44 -05:00
36753f6ecb refactor: random
uses a rust 1.83 feature so that the const fn works better
2024-11-17 10:19:05 -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
7c55400fbf fix: random doctest 2024-11-16 21:54:03 -05:00
987ec7656f fix: alpha-beta test 2024-11-16 21:53:32 -05:00
30e20d1f66 stub: zobrist hash
no transposition table yet, but if the hash works it's coming
2024-11-16 21:36:39 -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
0591f29c66 feat: better endgame heuristics
it may or may not be able to deliver checkmate
2024-11-04 11:41:30 -05:00
c0e8766fee chore: README 2024-11-03 11:49:05 -05:00
1c4c158053 perf: borrow in the evalscore piece changes 2024-11-03 11:42:19 -05:00
4b245e0421 chore: silence warnings
and also move perft tests into its own file
2024-11-03 11:32:13 -05:00
b51dc87b2c fix: make promoting pawns more important 2024-11-02 22:23:41 -04:00
7d7a2531ad feat: tapered eval for endgame 2024-11-02 22:16:21 -04: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
b36faba3ef feat: piece square table
no tapered eval yet
2024-11-02 14:45:57 -04:00
9b447ca039 refactor: simplify move gen public interface 2024-11-01 21:58:38 -04:00
60d084886f refactor: use Index/IndexMut instead of helper functions 2024-11-01 21:46:53 -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
5751215ffa feat: uci engine interface 2024-10-26 18:25:07 -04:00
3ebadf995f feat: move conversion to uci algebraic 2024-10-26 16:48:51 -04:00
420e32fe86 feat: basic basic eval 2024-10-26 16:43:06 -04:00
c2dcba81b8 chore: license 2024-10-25 22:30:03 -04:00
3dac0e4388 refactor: make square idx size type a variable 2024-10-25 22:02:30 -04:00
a36aa3b0c6 fix: compiler warnings 2024-10-25 21:34:33 -04:00
3ed7f315c8 refactor: movegen 2024-10-25 21:25:38 -04:00
e4b19b8bdd fix: unmake broken 2024-10-25 20:26:41 -04:00
21add6fec8 feat: debug tools for movegen/perft 2024-10-25 20:25:02 -04:00
1b250f224d test: movegen tool 2024-10-25 12:02:27 -04:00