From 9d47bf0dacd2b58fa1217b4d5bc863019f46e225 Mon Sep 17 00:00:00 2001 From: yjf2002ghty <47345902+yjf2002ghty@users.noreply.github.com> Date: Mon, 22 Apr 2024 09:25:15 +0800 Subject: [PATCH 1/2] Khan's chess & Shinobi Chess+ --- src/variants.ini | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/src/variants.ini b/src/variants.ini index fd5b50497..01c3a1951 100644 --- a/src/variants.ini +++ b/src/variants.ini @@ -1927,3 +1927,44 @@ customPiece2 = p:mW connectValue = loss stalemateValue = win connectPieceTypes = m + +#https://www.pychess.org/variants/shinobiplus +[shinobiplus:crazyhouse] +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] +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 From bfa82b4dd6f88da0a9913a7c8f6b50e50924d132 Mon Sep 17 00:00:00 2001 From: yjf2002ghty <47345902+yjf2002ghty@users.noreply.github.com> Date: Mon, 22 Apr 2024 22:07:49 +0800 Subject: [PATCH 2/2] Update variants.ini --- src/variants.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/variants.ini b/src/variants.ini index 01c3a1951..688cce0d3 100644 --- a/src/variants.ini +++ b/src/variants.ini @@ -1930,6 +1930,7 @@ connectPieceTypes = m #https://www.pychess.org/variants/shinobiplus [shinobiplus:crazyhouse] +pieceToCharTable = - commoner = c bers = d dragonHorse = f @@ -1955,6 +1956,7 @@ flagRegionBlack = *1 #https://www.pychess.org/variants/khans [khans:chess] +pieceToCharTable = - centaur = h knibis = a kniroo = l