Skip to content

Commit

Permalink
Update variants.ini (+ Muje)
Browse files Browse the repository at this point in the history
a variant Muje has been added
  • Loading branch information
Snowmoondaphne authored and ianfab committed Jul 24, 2024
1 parent b1aea28 commit 10117a4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions src/variants.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1976,6 +1976,37 @@ flagRegionWhite = *8
flagRegionBlack = *1
startFen = lhatkahl/ssssssss/8/8/8/8/PPPPPPPP/RNBQKBNR w KQ - 0 1

[muje]
variantTemplate = shogi
pieceToCharTable = PNBR.F.IS..+Kpnbr.f.is..+k
maxFile = 9
maxRank = 9
pocketSize = 7
startFen = rnbfkfbnr/1si3is1/p1p1p1p1p/9/9/9/P1P1P1P1P/1SI3IS1/RNBFKFBNR[] w - - 0 1
pieceDrops = true
capturesToHand = true
soldier = p
knight = n
bishop = b
rook = r
fers = f
wazir = w
king = k
customPiece1 = i:pB
customPiece2 = s:pR
promotionRegionWhite = *7 *8 *9
promotionRegionBlack = *3 *2 *1
promotedPieceType = p:w
doubleStep = false
castling = false
stalemateValue = loss
nMoveRule = 0
nFoldValue = loss
perpetualCheckIllegal = true
mobilityRegionWhiteKing = *3 *2 *1
mobilityRegionBlackKing = *7 *8 *9
mandatoryPiecePromotion = true

#https://www.chessvariants.com/diffobjective.dir/giveaway.html
#When stalemate, the stalemated player does not move but the opponent can if he wish to play for win go on moving and do as many moves he wants to do.
#If the stalemate then disappear, both players move again as usual. So, if white for example has a pawn on h2 and nothing more and black a pawn on h3, pawn on a7 and rooks on a8 and h8
Expand Down

0 comments on commit 10117a4

Please sign in to comment.