claude
aa97abaadc
Add Chess960 (FRC) and DFRC support
...
- castling moves are stored as "king takes own rook" (from = king square, to = castling rook square)
- per-colour castling rook squares (Board::castleRook), so DFRC (different back ranks for white/black) works
- FEN parsing/printing: KQkq (X-FEN) and Shredder-FEN file letters
- Board::CanCastle(): generic castling legality (empty paths, king not attacked, rook x-ray check)
- MakeMove handles arbitrary king/rook start squares (king and rook may stay in place or swap through each other's squares)
- UCI_Chess960 option: castling printed/parsed as king-takes-rook when on, standard e1g1 style otherwise (both are accepted when parsing)
- viri format, perft castle check and castling right updates no longer assume a1/h1/a8/h8
2026-10-11 00:12:02 +02:00
rektdie
3a813876f4
prettier printings | bench 1632393
2026-10-05 19:38:58 +02:00
rektdie
1e41671002
lazy accumulator updates with finny tables 1632393
2026-10-03 16:13:52 +02:00
rektdie
68d7dcbccb
GetPromoPiece helper function | bench 1181803
2026-04-05 02:58:40 +02:00
rektdie
454d9e61c1
4 king input buckets in the net
...
bench: 1311861
2026-03-31 14:34:29 +02:00
rektdie
81a9a89ac8
dont update accumulators for no reason
...
bench: 1315668
2026-03-28 02:41:43 +01:00
rektdie
9885596770
prevent fp when move gives direct check | bench 1847720
2026-03-20 13:48:58 +01:00
rektdie
e06e1cdac1
added a redundant mailbox to board class | bench 1538206
2026-03-16 22:53:03 +01:00
rektdie
4b3e8020fa
major correction history | bench 1744326
2026-02-25 10:57:33 +01:00
rektdie
b929963f91
added pseudo legality checking and testing tt move in movepicker | bench 1801941
2026-02-25 01:17:15 +01:00
rektdie
48bbfa7114
fixed rare ep legality bug | bench 1812688
2026-02-19 16:16:32 +01:00
rektdie
320c43cdd3
cleanup | bench 1812688
2026-02-19 15:12:17 +01:00
rektdie
a9b51e384f
isLegal function | bench 1812688
2026-02-19 15:06:57 +01:00
rektdie
1fb235fb3f
added pinned and checker bitboard | bench 1812688
2026-02-19 12:49:49 +01:00
rektdie
e8aec47b71
added new movegen type: quiets | bench 5105878
2025-10-12 23:40:18 +02:00
rektdie
17a0a97896
removed unnecessary if condition in MakeMove | bench 5105878
2025-10-12 19:52:15 +02:00
rektdie
0dfbb1c27b
new neural net, now with HM, trained on 11GB of viripack data| bench 6223715
2025-09-30 07:30:34 +02:00
rektdie
1dd0e33d2b
added threats hist | bench 5938098
2025-09-17 00:42:04 +02:00
rektdie
32691d2d65
reworked corrhist handling | bench 6409786
2025-09-10 01:26:42 +02:00
rektdie
bf7adcb06b
added pawn corrhist | bench 4741642
2025-09-03 01:11:35 +02:00
rektdie
14af9c0f9b
new net trained on 6GB of data, 0.65 WDL + output buckets | bench 3370940
2025-05-31 17:07:07 +02:00
rektdie
c3dbeb150e
qs-see | bench 3999438
2025-05-30 21:25:53 +02:00
rektdie
43f9b1f988
bugfix: listMoves printed pseudo-legal moves | bench 4333527
2025-05-23 06:24:14 +02:00
rektdie
89639e01e6
Revert "Merge pull request #64 from rektdie/qs-see"
...
This reverts commit 1c8eb6074d , reversing
changes made to 8fa390ed5f .
2025-05-22 01:07:30 +02:00
rektdie
a529a949f0
added SEE to QS | bench 3986957
2025-05-20 22:29:18 +02:00
rektdie
5e18083113
implemented AttacksTo function | bench 4333527
2025-05-20 21:33:57 +02:00
rektdie
0a8d7ca2f5
some minor changes to NNUE interference | bench 1136338
2025-05-07 01:07:47 +02:00
rektdie
3de8f457da
printing fen on printboard | bench 1136338
2025-04-28 20:20:34 +02:00
rektdie
3225b9c665
encapsualted position index and array | bench 1857933
2025-04-12 20:39:00 +02:00
rektdie
ce01c7756b
Revert "encapsulated positionIndex and moved isdraw to board class"
...
This reverts commit aa0d34eb8e .
2025-04-12 10:59:04 +02:00
rektdie
3275cee01e
Revert "encapsulated positionHistory | bench 1857933"
...
This reverts commit 2e8c23103f .
2025-04-12 10:58:56 +02:00
rektdie
43dc63cdf3
Revert "encapsulated TT"
...
This reverts commit 8ca878275a .
2025-04-12 00:52:52 +02:00
rektdie
8ca878275a
encapsulated TT
2025-04-11 22:28:16 +02:00
rektdie
2e8c23103f
encapsulated positionHistory | bench 1857933
2025-04-11 19:49:03 +02:00
rektdie
aa0d34eb8e
encapsulated positionIndex and moved isdraw to board class
2025-04-11 06:19:17 +02:00
rektdie
eff4f50ee8
ensapsulated nodes | bench 1857933
2025-04-11 02:03:53 +02:00
rektdie
c2e03f1c19
fixed accumulator bug | bench 1343750
2025-04-09 02:54:37 +02:00
rektdie
2ea6bd1c64
using NNUE eval | bench 10737067
2025-04-08 22:42:31 +02:00
rektdie
d72a0c341e
added NNUE eval
2025-04-08 20:30:44 +02:00
rektdie
40f28f6955
accumulator_reset working
2025-04-08 20:16:19 +02:00
rektdie
b7e0b37ca8
added accumulator reset (not working properly yet)
2025-04-08 19:59:14 +02:00
rektdie
82c969a2ad
created basic nnue files and structures
2025-04-08 08:55:57 +02:00
rektdie
44af851081
resetting board correctly on non legal makemove | bench 1857933
2025-04-01 03:36:07 +02:00
rektdie
1279a11808
added lmr table + small refactors | bench 3761943
2025-03-28 00:15:48 +01:00
rektdie
05a94a59d3
bugfix: didnt increment halfmoves | bench 902872
2025-03-25 22:46:06 +01:00
rektdie
eb2cc35239
added fifty move rule | bench 902872
2025-03-25 19:05:00 +01:00
rektdie
120f36ebb6
separate attack maps by color and piece type | bench 902872
2025-03-25 17:14:14 +01:00
rektdie
12c600e1c4
was making every move twice | bench 888803
2025-03-25 11:52:36 +01:00
rektdie
d4c7263b93
fixed checkmate and stalemate detection
2025-03-24 20:01:32 +01:00
rektdie
b9792e56da
fixed illegal castling
2025-03-24 18:21:07 +01:00