Commit Graph

127 Commits

Author SHA1 Message Date
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
611cdd4d51 stub: proper make/unmake
fails tests
2024-10-25 11:59:53 -04:00
17bec263d9 perf: make_unlinked takes reference instead of ownership 2024-10-22 18:09:32 -04:00
00bfbd7fbc perf: remove redundant is_check direction for queen 2024-10-22 17:52:55 -04:00
09551e802e fix: en passant bug
also added more depth on some perft positions
2024-10-22 17:11:04 -04:00
61e5a6114b fix: bitboard not reflecting captures
also implemented perft
2024-10-22 16:31:30 -04:00
8b066b3933 test: use anti-test cases for more tests 2024-10-22 13:45:06 -04:00
16141e851c feat: ensure king does not castle through check 2024-10-22 12:51:22 -04:00
ba0dffab22 chore: refactor 2024-10-21 14:43:18 -04:00
30b401fb2b refactor: don't clone for check checker 2024-10-21 14:43:02 -04:00
b0b91232d5 test: test augmenting with color flips 2024-10-21 14:23:47 -04:00
26a88adefc feat: color flip board 2024-10-20 19:12:18 -04:00
4a2f3b5830 feat: king check checker 2024-10-20 18:33:35 -04:00
1e38040270 refactor: centralize conversion to signed row/column 2024-10-20 15:40:34 -04:00
0c5d28b724 refactor: have movegen traits use iterables instead of vectors 2024-10-20 15:22:57 -04:00
c669aa6f89 refactor: move direction coordinates into module scope constants 2024-10-20 14:59:31 -04:00
605ce75f42 feat: castle movegen 2024-10-20 14:53:55 -04:00