add Caught in a Snag, Minihouse, Pawnsking, Rookmate (#707)
authorRainRat <rainrat78@yahoo.ca>
Mon, 4 Sep 2023 20:27:18 +0000 (13:27 -0700)
committerGitHub <noreply@github.com>
Mon, 4 Sep 2023 20:27:18 +0000 (22:27 +0200)
src/variants.ini

index c048132..d9ec7d8 100644 (file)
@@ -455,6 +455,15 @@ flagPiece = q
 flagRegionWhite = *8
 flagRegionBlack = *1
 
+#https://github.com/yagu0/vchess/blob/master/client/src/translations/rules/Pawnsking/en.pug
+[pawnsking:pawnsonly]
+commoner = k
+flagPiece = *
+startFen = 4k3/pppppppp/8/8/8/8/PPPPPPPP/4K3 w - - 0 1
+extinctionValue = loss
+extinctionPieceTypes = k
+stalemateValue = draw
+
 [tictactoe]
 maxRank = 3
 maxFile = 3
@@ -514,6 +523,38 @@ whiteDropRegion = *1 *2 *3 *4 *5
 blackDropRegion = *4 *5 *6 *7 *8
 immobilityIllegal = true
 
+#https://www.chess.com/variants/caught-in-a-snag
+[caught-in-a-snag:chess]
+pieceToCharTable = P..........GUFW......Mp..........gufw......m
+maxRank = 6
+pawnTypes = p
+fers = f
+horse = u
+wazir = w
+centaur = m
+king = g:gBgR
+customPiece1 = p:fmWfcF
+startFen = fuwmgwuf/pppppppp/8/8/PPPPPPPP/FUWGMWUF w - - 0 1
+stalemateValue = win
+
+#https://www.chess.com/variants/minihouse
+[minihouse:crazyhouse]
+maxRank = 6
+maxFile = 6
+startFen = 2bnrk/5p/6/6/P5/KRNB2
+
+#https://www.chess.com/variants/rookmate
+[rookmate:chess]
+#in this variant, one rook is royal, one isn't
+#to define this, the royal rook will be a king(K) with custom moves, and the non-royal king a commoner(C)
+pieceToCharTable = PNBRQC...............Kpnbrqc...............k
+startFen = rnbqcbnk/pppppppp/8/8/8/8/PPPPPPPP/RNBQCBNK w 7+7 0 1
+king = k:R
+commoner = c
+extinctionPieceCount = 1
+extinctionValue = loss
+extinctionPieceTypes = *
+
 # Asymmetric variant with one army using pieces that move like knights but attack like other pieces (kniroo and knibis)
 [orda:chess]
 pieceToCharTable = PNBRQ..AH...........LKp...q..ah.y.........lk
@@ -1598,7 +1639,7 @@ enPassantRegion = -
 #https://www.ludii.games/details.php?keyword=Quad%20Wrangle
 [quadwrangle:ataxx]
 #different sources give different info on whether it is a 7x7 or 8x8 board.
-#could offer both if wanted.
+#7x7 is below
 maxRank = 8
 maxFile = 8
 startFen = 1PPPPPP1/p6P/p6P/p6P/p6P/p6P/p6P/1pppppp1