From 0e89b9aa4341fe68d6f1202e7c395d70cf3d9b0b Mon Sep 17 00:00:00 2001 From: yjf2002ghty <47345902+yjf2002ghty@users.noreply.github.com> Date: Tue, 23 Apr 2024 00:47:10 +0800 Subject: [PATCH] Khan's chess & Shinobi Chess+ (#778) --- src/variants.ini | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/src/variants.ini b/src/variants.ini index fd5b50497..688cce0d3 100644 --- a/src/variants.ini +++ b/src/variants.ini @@ -1927,3 +1927,46 @@ customPiece2 = p:mW connectValue = loss stalemateValue = win connectPieceTypes = m + +#https://www.pychess.org/variants/shinobiplus +[shinobiplus:crazyhouse] +pieceToCharTable = - +commoner = c +bers = d +dragonHorse = f +archbishop = j +fers = m +shogiKnight = h +lance = l +promotionRegionWhite = *7 *8 +promotionRegionBlack = *1 *2 *3 +promotionPieceTypes = - +promotedPieceType = p:c m:b h:n l:r +mandatoryPiecePromotion = true +stalemateValue = loss +nFoldRule = 4 +perpetualCheckIllegal = true +startFen = rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/4K3[JDFCLHM] w kq - 0 1 +capturesToHand = false +whiteDropRegion = *1 *2 *3 *4 +immobilityIllegal = true +flagPiece = k +flagRegionWhite = *8 +flagRegionBlack = *1 + +#https://www.pychess.org/variants/khans +[khans:chess] +pieceToCharTable = - +centaur = h +knibis = a +kniroo = l +customPiece1 = t:mNcK +customPiece2 = s:mfhNcfW +promotionPawnTypesBlack = s +promotionPieceTypesBlack = t +stalemateValue = loss +nMoveRuleTypesBlack = s +flagPiece = k +flagRegionWhite = *8 +flagRegionBlack = *1 +startFen = lhatkahl/ssssssss/8/8/8/8/PPPPPPPP/RNBQKBNR w KQ - 0 1