From: Belzedar94 <54615238+Belzedar94@users.noreply.github.com> Date: Wed, 21 Apr 2021 18:33:26 +0000 (+0200) Subject: Update Variants.ini (#290) X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=b123ba73abe748c09686db775f1811af1383cc8a;p=fairystockfish.git Update Variants.ini (#290) Add support for the following variants: 4x5 Chess // https://greenchess.net/rules.php?v=4x5-chess --> Solved draw 4x6 Chess // https://greenchess.net/rules.php?v=4x6-chess --> Solved draw 5x6 chess // https://greenchess.net/rules.php?v=5x6-chess Active chess // https://greenchess.net/rules.php?v=active Advanced Pawn chess // https://greenchess.net/rules.php?v=advanced-pawn Capture-all Chess // https://greenchess.net/rules.php?v=capture-all Capture chess // https://vchess.club/#/variants/Capture Checkless 6x6 Atomic // Checkless atomic on a 6x6 board Corner Rook Chess // https://greenchess.net/rules.php?v=corner-rook Crossing chess // https://vchess.club/#/variants/Crossing Diana Chess // https://greenchess.net/rules.php?v=diana (Kingside castling not working) Double Army chess // https://vchess.club/#/variants/Doublearmy Empire // https://vchess.club/#/variants/Empire Goth House // Gothic Chess + Crazyhouse Maharajah 2 // https://vchess.club/#/variants/Maharajah (Balanced version of Maharajah and the Sepoys) Microchess // https://greenchess.net/rules.php?v=microchess Pawn Massacre chess // https://vchess.club/#/variants/Pawnmassacre Screen chess // https://vchess.club/#/variants/Screen (This version assumes 1 drop per turn instead of the whole blind setup as in vchess) Shinobi // https://vchess.club/#/variants/Shinobi Synochess // https://www.pychess.org/variant/synochess Wildebeest // https://vchess.club/#/variants/Wildebeest --- diff --git a/src/variants.ini b/src/variants.ini index 2da5f84..df10ccb 100644 --- a/src/variants.ini +++ b/src/variants.ini @@ -475,3 +475,209 @@ startFen = lhafkahl/8/pppppppp/8/8/PPPPPPPP/8/LHAFKAHL w - - 0 1 flagPiece = k whiteFlag = *8 blackFlag = *1 + +# Hybrid variant of Gothic-chess and crazyhouse, using Capablanca as a template +[gothhouse:capablanca] +startFen = rnbqckabnr/pppppppppp/10/10/10/10/PPPPPPPPPP/RNBQCKABNR[] w KQkq - 0 1 +pieceDrops = true +capturesToHand = true + +# Synochess +# https://www.pychess.org/variant/synochess +[synochess:pocketknight] +pieceToCharTable = PNBRQAE...SCH........Kpnbrqae...sch........k +pocketSize = 8 +janggiCannon = c +soldier = s +horse = h +fersAlfil = e +commoner = a +stalemateValue = loss +perpetualCheckIllegal = true +startFen = rneakenr/8/1c4c1/1ss2ss1/8/8/PPPPPPPP/RNBQKBNR[ss] w KQ - 0 1 +flyingGeneral = true +capturesToHand = false +blackDropRegion = *5 +flagPiece = k +whiteFlag = *8 +blackFlag = *1 + +# Capture chess +# https://vchess.club/#/variants/Capture +[capture:chess] +mustCapture = true + +# Double Army chess +# https://vchess.club/#/variants/Doublearmy +[doublearmy:chess] +pieceToCharTable = PNBRQ.....C...........Kpnbrq.....c...........k +commoner = c +startFen = rnbqkbnr/pppppppp/rnbqcbnr/pppppppp/PPPPPPPP/RNBQCBNR/PPPPPPPP/RNBQKBNR w KQkq - 0 1 + +# Pawn Massacre chess +# https://vchess.club/#/variants/Pawnmassacre +[pawnsmassacre:chess] +startFen = RNBKQBNR/pppppppp/8/8/8/8/PPPPPPPP/rnbkqbnr w - - 0 1 + +# Screen chess (Below version assumes 1 drop per turn instead of the whole blind setup as in vchess) +# https://vchess.club/#/variants/Screen +[screen:placement] +dropNoDoubled = p +startFen = 8/8/8/8/8/8/8/8[KQRRBBNNPPPPPPPPkqrrbbnnpppppppp] w - - 0 1 +whiteDropRegion = *1 *2 *3 *4 +blackDropRegion = *8 *7 *6 *5 + +# Crossing chess +# https://vchess.club/#/variants/Crossing +[crossing:kingofthehill] +whiteFlag = *5 +blackFlag = *4 + +# 4x5 Chess +# https://greenchess.net/rules.php?v=4x5-chess --> Solved draw +[4x5chess:gardner] +maxRank = 5 +maxFile = d +startFen = rnbk/pppp/4/PPPP/RNBK w - - 0 1 + +# 4x6 Chess +# https://greenchess.net/rules.php?v=4x6-chess --> Solved draw +[4x6chess:gardner] +maxRank = 6 +maxFile = d +promotionRank = 6 +startFen = rnbk/pppp/4/4/PPPP/RNBK w - - 0 1 + +# 5x6 chess +# https://greenchess.net/rules.php?v=5x6-chess +[5x6chess:gardner] +maxRank = 6 +maxFile = e +promotionRank = 6 +startFen = rnbqk/ppppp/5/5/PPPPP/RNBQK w - - 0 1 + +# Active chess +# https://greenchess.net/rules.php?v=active +[active:chess] +maxFile = i +startFen = rnbkqbnrq/ppppppppp/9/9/9/9/PPPPPPPPP/RNBKQBNRQ w KQkq - 0 1 + +# Checkless 6x6 Atomic +[6x6atom:nocheckatomic] +extinctionPseudoRoyal = true +maxRank = 6 +maxFile = f +promotionRank = 6 +doubleStep = false +startFen = rbqkbr/pppppp/6/6/PPPPPP/RBQKBR w - - 0 1 + +# Advanced Pawn chess +# https://greenchess.net/rules.php?v=advanced-pawn +[advancedpawn:chess] +doubleStep = false +startFen = rnbqkbnr/8/pppppppp/8/8/PPPPPPPP/8/RNBQKBNR w KQkq - 0 1 + +# Capture-all Chess +# https://greenchess.net/rules.php?v=capture-all +[captureall:extinction] +extinctionPieceTypes = * + +# Corner Rook Chess +# https://greenchess.net/rules.php?v=corner-rook +[cornerrook:chess] +doubleStep = false +castling = false +startFen = r6r/1nbqkbn1/pppppppp/8/8/PPPPPPPP/1NBQKBN1/R6R w - - 0 1 + +# Diana Chess // Kingside castling not working! +# https://greenchess.net/rules.php?v=diana +[diana:losalamos] +pieceToCharTable = PNBRQ................Kpnbrq................k +bishop = b +promotionPieceTypes = rbn +castling = true +castlingKingsideFile = e +castlingQueensideFile = b +startFen = rbnkbr/pppppp/6/6/PPPPPP/RBNKBR w KQkq - 0 1 + +# Microchess +# https://greenchess.net/rules.php?v=microchess +[microchess:gardner] +maxRank = 5 +maxFile = d +startFen = rbnk/p3/4/3P/RBNK w - - 0 1 + +# Empire Chess +# https://vchess.club/#/variants/Empire +[empire:chess] +pieceToCharTable = PNBRQ.....ST.C.D.E...Kpnbrq.....st.c.d.e...k +customPiece1 = e:mQcN +customPiece2 = c:mQcB +customPiece3 = t:mQcR +customPiece4 = d:mQcK +soldier = s +promotionPieceTypes = qne +startFen = rnbqkbnr/pppppppp/8/8/8/PPPSSPPP/8/TECDKCET w kq - 0 1 +stalemateValue = loss +nFoldValue = loss +flagPiece = k +whiteFlag = *8 +blackFlag = *1 +flyingGeneral = true + +# Shinobi Chess +# https://vchess.club/#/variants/Shinobi +[shinobi:crazyhouse] +variantTemplate = shogi +pieceToCharTable = PNBRQ.DJMLH.....CKpnbrq.djmlh.....ck +pocketSize = 8 +commoner = c +bers = d +archbishop = j +fers = m +shogiKnight = h +lance = l +promotionRank = 7 +promotionPieceTypes = - +promotedPieceType = p:c m:b h:n l:r +mandatoryPiecePromotion = true +stalemateValue = loss +perpetualCheckIllegal = true +startFen = rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/LH1CK1HL[LHMMDJ] w kq - 0 1 +capturesToHand = false +whiteDropRegion = *1 *2 *3 *4 +blackDropRegion = *5 *6 *7 *8 +immobilityIllegal = true +flagPiece = k +whiteFlag = *8 +blackFlag = *1 + +# Wildebeest +# https://vchess.club/#/variants/Wildebeest (switching flexible castling with no-castling) +[wildebeest:chess] +castling = false +maxRank = 10 +maxFile = k +customPiece5 = c:C +customPiece6 = w:NC +pieceToCharTable = PNBRQ.......C....WKpnbrq.......c....wk +startFen = rnccwkqbbnr/ppppppppppp/11/11/11/11/11/11/PPPPPPPPPPP/RNBBQKWCCNR w KQkq - 0 1 +promotionPieceTypes = qw +promotionRank = 9 +mandatoryPawnPromotion = false + +# Maharajah +# https://vchess.club/#/variants/Maharajah (Balanced version of Maharajah and the Sepoys) +[maharajah2] +pawn = p +knight = n +bishop = b +rook = r +queen = q +king = k +customPiece7 = m:QNAD +pieceToCharTable = PNBRQ.............MKpnbrq.............mk +startFen = 3mm3/8/8/8/8/8/PPPPPPPP/RNBQKBNR w KQ - 0 1 +extinctionValue = loss +extinctionPieceTypes = m +extinctionPseudoRoyal = true