Skip to content

Commit

Permalink
Merge branch 'master' into newvariants19
Browse files Browse the repository at this point in the history
  • Loading branch information
RainRat authored Sep 29, 2023
2 parents 97df83f + 5d3af09 commit 63d97fc
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion src/variants.ini
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
# mustDropType: piece type for which piece drops are mandatory [PieceType] (default: *)
# pieceDrops: enable piece drops [bool] (default: false)
# dropLoop: captures promoted pieces are not demoted [bool] (default: false)
# capturesToHand: captured pieces are go to opponent's hand [bool] (default: false)
# capturesToHand: captured pieces go to opponent's hand [bool] (default: false)
# firstRankPawnDrops: allow pawn drops to first rank [bool] (default: false)
# promotionZonePawnDrops: allow pawn drops in promotion zone [bool] (default: false)
# dropOnTop: piece drops need to be on top of pieces on board (e.g., for connect4) [bool] (default: false)
Expand Down Expand Up @@ -1789,6 +1789,39 @@ wallingRule = edge
#need to figure out way to do this ie. write code for:
#wallOrMove = true

#https://www.chessvariants.com/rules/ajax-orthodox-chess
[ajax-orthodox:chess]
pieceToCharTable = PNBRQ.............MKpnbrq.............mk
customPiece1 = r:RmF
customPiece2 = n:NmK
customPiece3 = b:BmW
customPiece1 = m:KAD
promotionPieceTypes = mqnbr
startFen = rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR[MMmm] w KQkq - 0 1
pieceDrops = true
whiteDropRegion = *1
blackDropRegion = *8

#https://www.chessvariants.com/small.dir/petty.html
[petty:chess]
maxRank = 6
maxFile = 5
startFen = qkbnr/ppppp/5/5/PPPPP/QKBNR w - 0 1
castling = false
doubleStep = false
promotionRegionWhite = *6

#https://www.chessvariants.com/small.dir/haynie.html
[haynie:chess]
maxRank = 6
maxFile = 6
startFen = rbqkbr/pppppp/6/6/PPPPPP/RBQKBR w KQkq - 0 1
doubleStep = false
promotionPieceTypes = rbq
castlingQueensideFile = c
castlingKingsideFile = e
promotionRegionWhite = *6

#https://www.zillions-of-games.com/cgi-bin/zilligames/submissions.cgi?do=show;id=655
[teeko:picaria]
maxRank = 5
Expand Down

0 comments on commit 63d97fc

Please sign in to comment.