################################################
### Usage:
-# Add "load" and the file path to the SF call (e.g., "./stockfish load variants.ini")
+# Add "load" and the file path to the SF call (e.g., "stockfish.exe load variants.ini")
# or set the UCI option "VariantPath" to the path of this file in order to load it.
# In order to validate the configuration without actually loading the variants
-# run "./stockfish check variants.ini", which reports potential config errors.
+# run "stockfish.exe check variants.ini", which reports potential config errors.
################################################
### Variant configuration:
extinctionPieceTypes = m
extinctionPseudoRoyal = true
+# Maharajah
+# https://vchess.club/#/variants/Maharajah (Balanced version of Maharajah and the Sepoys)
+[maharajah2:maharajah]
+amazon = -
+customPiece1 = m:QNAD
+pieceToCharTable = PNBRQ.............MKpnbrq.............mk
+startFen = 3mm3/8/8/8/8/8/PPPPPPPP/RNBQKBNR w KQ - 0 1
+extinctionPieceTypes = m
+
# Upside-down
[upsidedown:chess]
startFen = RNBKQBNR/PPPPPPPP/8/8/8/8/pppppppp/rnbkqbnr w - - 0 1
[weak:chess]
startFen = nnnnknnn/pppppppp/2p2p2/1pppppp1/8/8/PPPPPPPP/RNBQKBNR w KQ - 0 1
+# Semi-torpedo chess
[semitorpedo:chess]
doubleStepRank = 3
# Shinobi Chess
# https://vchess.club/#/variants/Shinobi
-[shinobi:crazyhouse]
+[shinobi:chess]
variantTemplate = shogi
pieceToCharTable = PNBRQ.DJMLH.....CKpnbrq.djmlh.....ck
pocketSize = 8
stalemateValue = loss
perpetualCheckIllegal = true
startFen = rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/LH1CK1HL[LHMMDJ] w kq - 0 1
-capturesToHand = false
+pieceDrops = true
whiteDropRegion = *1 *2 *3 *4
blackDropRegion = *5 *6 *7 *8
immobilityIllegal = true
blackFlag = *1
# Wildebeest
-# https://vchess.club/#/variants/Wildebeest (switching flexible castling with no-castling)
+# https://vchess.club/#/variants/Wildebeest
+# Limitations: No flexible castling, no pawn triple steps
[wildebeest:chess]
-castling = false
maxRank = 10
maxFile = k
-customPiece5 = c:C
-customPiece6 = w:NC
+customPiece1 = c:C
+customPiece2 = w:NC
pieceToCharTable = PNBRQ.......C....WKpnbrq.......c....wk
startFen = rnccwkqbbnr/ppppppppppp/11/11/11/11/11/11/PPPPPPPPPPP/RNBBQKWCCNR w KQkq - 0 1
promotionPieceTypes = qw
promotionRank = 9
mandatoryPawnPromotion = false
-
-# Maharajah
-# https://vchess.club/#/variants/Maharajah (Balanced version of Maharajah and the Sepoys)
-[maharajah2]
-pawn = p
-knight = n
-bishop = b
-rook = r
-queen = q
-king = k
-customPiece7 = m:QNAD
-pieceToCharTable = PNBRQ.............MKpnbrq.............mk
-startFen = 3mm3/8/8/8/8/8/PPPPPPPP/RNBQKBNR w KQ - 0 1
-extinctionValue = loss
-extinctionPieceTypes = m
-extinctionPseudoRoyal = true
+castling = false