Update variants.ini (Added 'Mandala') (#926)
authorSnowmoondaphne <77484755+Snowmoondaphne@users.noreply.github.com>
Mon, 27 Oct 2025 13:56:28 +0000 (22:56 +0900)
committerGitHub <noreply@github.com>
Mon, 27 Oct 2025 13:56:28 +0000 (14:56 +0100)
Added a variant named Mandala

src/variants.ini

index fa97158..66127dc 100644 (file)
@@ -2046,3 +2046,39 @@ flagRegionBlack = *1
 immobilityIllegal = true
 mandatoryPiecePromotion = true
 flyingGeneral = true
+
+# Twin Leaper Kings, Leapers that can move 16 squares, and Shogi Pawns whose Promotion is Campmate.
+[mandala]
+maxRank = 10
+maxFile = 10
+pocketSize = 6
+pieceDrops = true
+capturesToHand = true
+shogiPawn = r
+customPiece1 = l:NAD
+customPiece2 = f:ZAD
+customPiece3 = g:NC
+customPiece4 = b:ZC
+customPiece5 = j:FWGH
+customPiece6 = e:vW
+immobile = c
+startFen = flgbjjbglf/10/rrrrrrrrrr/10/10/10/10/RRRRRRRRRR/10/FLGBJJBGLF[EE] w - - 0 1
+doubleStep = false
+castling = false
+dropNoDoubled = r
+immobilityIllegal = true
+promotionRegionWhite = *10
+promotionRegionBlack = *1
+promotionPieceTypes = -
+promotedPieceType = r:c
+mandatoryPiecePromotion = true
+extinctionValue = loss
+extinctionPieceTypes = j
+extinctionPseudoRoyal = true
+extinctionPieceCount = 1
+flagPiece = c
+flagRegionWhite = *10
+flagRegionBlack = *1
+nMoveRule = 0
+nFoldValue = loss
+stalemateValue = loss