Commit Graph
20 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 82c969a2ad created basic nnue files and structures 2025-04-08 08:55:57 +02:00
rektdie 69a7855f96 started rewriting setbyfen + utils 2025-03-12 13:04:44 +01:00
rektdie 7c4fbc1f6d added Transposition tables 2024-07-13 22:20:15 +02:00
rektdie 6f8272b51b bugfix in move ordering + changed default search depth to 6 2024-06-22 14:41:56 +02:00
rektdie 8c4a157797 added killer moves to move ordering 2024-06-22 05:50:19 +02:00
rektdie cb403943cb implemented Move Ordering (MVV-LVA) 2024-06-21 14:38:36 +02:00
rektdie 70bea0713c storing castling rights cheaper 2024-06-19 16:01:35 +02:00
rektdie 494cd13f7e added perft back + fixed some bugs with movegen 2024-04-09 21:44:33 +02:00
rektdie 36db22ea6b generating all other moves except castles 2024-04-08 21:44:46 +02:00
rektdie 70607073bc added en passant to check evasion 2024-04-08 12:16:11 +02:00
rektdie 70179b953d bugfix: Checkers function, added: helper functions to detect partial pins in the future 2024-04-08 09:19:23 +02:00
rektdie 825e553ca3 added IsPinned function and pawn pushes to block check 2024-04-07 22:53:10 +02:00
rektdie 7dd2bd8823 removed time measurement from perft (temporarily) 2024-04-03 20:08:54 +02:00
rektdie bd6690d168 +additions to full board printing 2024-03-22 10:07:08 +01:00
rektdie d0d7af4a79 Move class + full board print function 2024-03-21 11:57:40 +01:00
rektdie 20f0ea142a Bitboards: added PopBit() 2024-03-04 10:05:16 +01:00
rektdie 13c7bcc092 Added function to bb: getting least significant 1st bit index 2024-03-03 22:19:02 +01:00
rektdie f7d65e8af8 moved imports from cpp files to headers + Makefile bugfix 2024-03-03 15:43:56 +01:00
rektdie 78fe989180 Added makefile and rook mask generation 2024-03-03 12:45:01 +01:00