Commit Graph
26 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 68d7dcbccb GetPromoPiece helper function | bench 1181803 2026-04-05 02:58:40 +02:00
rektdie a9b51e384f isLegal function | bench 1812688 2026-02-19 15:06:57 +01:00
rektdie 5c6d75e9ef separated printings | bench 6238369 2025-10-06 17:56:46 +02:00
rektdie 1642471163 final fix of viri move | bench 1422551 2025-04-19 14:07:00 +02:00
rektdie 57f665c84d fixed viri move 2025-04-19 12:19:48 +02:00
rektdie a978381e7b bugfix in move.h | bench 1422551 2025-04-18 10:12:42 +02:00
rektdie e19af9df0e reworked viri move | bench 1422551 2025-04-18 10:08:43 +02:00
rektdie 2ea6bd1c64 using NNUE eval | bench 10737067 2025-04-08 22:42:31 +02:00
rektdie 34f5bbdd43 fixed viri move format 2025-04-02 08:27:46 +02:00
rektdie 5ad924f3c6 tried to implement viri move format 2025-04-02 07:25:22 +02:00
rektdie 2c1d448d8f FP with some test conds | bench 968174 2025-03-26 12:16:27 +01:00
rektdie 23e1f8a165 small adjustment in move 2025-03-20 20:04:02 +01:00
rektdie 537139f5d0 PrintMove prints promotion as well | bench 4118297 2025-03-10 14:08:01 +01:00
rektdie 6d6fababdb printing PV and score | bench 4118297 2025-03-10 10:13:35 +01:00
rektdie 8c4a157797 added killer moves to move ordering 2024-06-22 05:50:19 +02:00
rektdie d89956a2fb implemented quiescence search 2024-05-13 13:07:13 +02:00
rektdie 1d6a9a8554 added uci: ParseMove and ParsePosition function 2024-05-04 19:03:42 +02:00
rektdie 3fe2b9c20c now generating basic king moves + fixed UB with move objects 2024-04-05 21:27:15 +02:00
rektdie b388adf692 added 16bit move encoding 2024-04-05 09:25:24 +02:00
rektdie 09dfeb7198 Cleared previous method of movegen 2024-04-04 22:49:56 +02:00
rektdie 693cfd07ac added bulk counting to perft + reorganized it's outputs 2024-04-03 08:31:42 +02:00
rektdie 8535042c04 added UnmakeMove function to unmake the last move 2024-03-31 22:44:42 +02:00
rektdie 6b5127424e added castling moves 2024-03-31 14:17:35 +02:00
rektdie effefd1aba introduced move types 2024-03-29 14:31:32 +01:00
rektdie 2aebd781fb GenPawnMoves function 2024-03-28 20:00:33 +01:00