add Crusade, Blackletter Chess (#714)
authorRainRat <rainrat78@yahoo.ca>
Sat, 9 Sep 2023 07:36:27 +0000 (00:36 -0700)
committerGitHub <noreply@github.com>
Sat, 9 Sep 2023 07:36:27 +0000 (09:36 +0200)
src/variants.ini

index 1028379..86309a5 100644 (file)
 # 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