From 00b9087199d3c6f5a3c0f543b32f41ad142f906b Mon Sep 17 00:00:00 2001 From: RainRat Date: Sat, 9 Sep 2023 00:36:27 -0700 Subject: [PATCH] add Crusade, Blackletter Chess (#714) --- src/variants.ini | 29 +++++++++++++++++++++++++++-- 1 files changed, 27 insertions(+), 2 deletions(-) diff --git a/src/variants.ini b/src/variants.ini index 1028379..86309a5 100644 --- a/src/variants.ini +++ b/src/variants.ini @@ -172,10 +172,10 @@ # petrifyBlastPieces: if petrify and blast combined, should pieces destroyed in the blast be petrified? [bool] (default: false) # doubleStep: enable pawn double step [bool] (default: true) # doubleStepRegionWhite: region where pawn double steps are allowed for white [Bitboard] (default: *2) -# doubleStepRegionBlack: region where pawn double steps are allowed for black [Bitboard] (default: *2) +# doubleStepRegionBlack: region where pawn double steps are allowed for black [Bitboard] (default: *7) # tripleStepRegionWhite: region where pawn triple steps are allowed for white [Bitboard] (default: -) # tripleStepRegionBlack: region where pawn triple steps are allowed for black [Bitboard] (default: -) -# enPassantRegion: define region (target squares) where en passant is allowed after double steps [Bitboard] +# enPassantRegion: define region (target squares) where en passant is allowed after double steps [Bitboard] (default: AllSquares) # enPassantTypes: define pieces able to capture en passant [PieceSet] (default: p) # enPassantTypesWhite: define white pieces able to capture en passant [PieceSet] (default: p) # enPassantTypesBlack: define black pieces able to capture en passant [PieceSet] (default: p) @@ -1694,5 +1694,30 @@ maxRank = 7 maxFile = 7 startFen = 1PPPPP1/p5P/p5P/p5P/p5P/p5P/1ppppp1 +#https://www.ludii.games/details.php?keyword=Crusade +[crusade:quadwrangle] +startFen = PpPpPpPp/pPpPpPpP/PpPpPpPp/pPpPpPpP/PpPpPpPp/pPpPpPpP/PpPpPpPp/pPpPpPpP +customPiece1 = p:cK +flipEnclosedPieces = ataxx +pieceDrops = false +passOnStalemate = false + +#https://www.chess.com/variants/blackletter-chess +[blackletter:chess] +pieceToCharTable = PNBRQ.......E...M...HKpnbrq.......e...m...hk +maxRank = 10 +maxFile = 9 +promotionRegionWhite = *10 +promotionRegionBlack = *1 +archbishop = e +chancellor = m +centaur = h +startFen = 1ebq1meb1/rn2k2nr/ppppppppp/9/9/9/9/PPPPPPPPP/RN2K2NR/1EBQ1MEB1[HHhh] w KQkq - 0 1 +promotionPieceTypes = behmnqr +doubleStepRegionWhite = *3 +doubleStepRegionBlack = *8 +pieceDrops = true +castlingRank = 2 + [opposite-castling:chess] oppositeCastling = true -- 1.7.0.4