Update variants.ini
authorSnowmoondaphne <77484755+Snowmoondaphne@users.noreply.github.com>
Tue, 26 Oct 2021 10:02:40 +0000 (19:02 +0900)
committerFabian Fichter <ianfab@users.noreply.github.com>
Mon, 8 Nov 2021 19:58:17 +0000 (20:58 +0100)
Add a variant

src/variants.ini

index f59911c..00a9259 100644 (file)
@@ -688,3 +688,44 @@ promotionPieceTypes = qw
 promotionRank = 9
 mandatoryPawnPromotion = false
 castling = false
+
+# Pandemonium
+# A variant that combines drops and powerful pieces, and there is no draw
+# https://www.chessvariants.com/rules/pandemonium
+[pandemonium]
+variantTemplate = shogi
+pieceToCharTable = PNBRFSA.UV.+++++++.++Kpnbrfsa.uv.+++++++.++k
+maxFile = 9
+maxRank = 9
+pocketSize = 9
+startFen = rnbsksbnr/2+a1+u1+f2/p1p1p1p1p/4v4/9/4V4/P1P1P1P1P/2+F1+U1+A2/RNBSKSBNR[] w - - 0 1
+customPiece1 = o:NA
+customPiece2 = s:WF
+customPiece3 = u:D
+customPiece4 = w:DWF
+castling = false
+pieceDrops = true
+capturesToHand = true
+immobilityIllegal = true
+soldier = p
+knight = n
+bishop = b
+rook = r
+king = k
+queen = q
+commoner = g
+dragonHorse = h
+bers = d
+alfil = a
+archbishop = c
+chancellor = m
+fers = f
+wazir = v
+centaur = t
+promotionRank = 7
+promotedPieceType = p:g n:o b:h r:d a:c v:m f:q s:w u:t
+doubleStep = false
+perpetualCheckIllegal = true
+nMoveRule = 0
+nFoldValue = loss
+stalemateValue = loss