Commit Graph
18 Commits
Author SHA1 Message Date
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 e8aec47b71 added new movegen type: quiets | bench 5105878 2025-10-12 23:40:18 +02:00
rektdie 1449a1545f using pseudo-random generated numbers in PlayRandMoves | bench 1136338 2025-04-28 19:51:20 +02:00
rektdie 61a68e5bcf printing in ID and storing scores in datagen in white relative format | bench 1857933 2025-04-03 03:53:22 +02:00
rektdie 4889715e47 fixed marlinformat 2025-04-02 06:23:03 +02:00
rektdie 63f5c61063 semi-fixed marlinformat 2025-04-02 05:35:12 +02:00
rektdie 93a199db17 single threaded datagen with printing | bench 1857933 2025-04-01 23:38:20 +02:00
rektdie 7c62a3e672 writing into binpack file | bench 1857933 2025-04-01 21:29:00 +02:00
rektdie 649bee6490 playing matches in datagen | bench 1857933 2025-04-01 20:15:44 +02:00
rektdie d703ea6010 fixed marlinformat pieces 2025-03-31 03:22:32 +02:00
rektdie c80adecb6e changed to match marlinformat 2025-03-31 00:45:32 +02:00
rektdie 14395cbb9f introduced marlinformat and compress pieces function in utils 2025-03-31 00:07:56 +02:00
rektdie 28ce0bc64c generating pawn moves 2025-03-24 00:33:21 +01:00
rektdie 0ffc2c77de bigger refactor in several files 2025-03-20 20:39:12 +01:00
rektdie 20ab2f476a refactor in several areas 2025-03-20 20:20:24 +01:00
rektdie ed0782d349 bugfix | bench 4118297 2025-03-12 22:56:26 +01:00
rektdie 41fed91fc2 fixed parseMove | bench 4118297 2025-03-12 21:46:24 +01:00
rektdie 842cb45f38 bugfix in parseSquare + rewrote parseMove 2025-03-12 16:55:36 +01:00