Skip to content

Commit

Permalink
add Ajax Orthodox, Petty, Haynie (#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
RainRat authored Sep 29, 2023
1 parent b8274a7 commit 5d3af09
Showing 1 changed file with 35 additions and 2 deletions.
37 changes: 35 additions & 2 deletions src/variants.ini
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,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 @@ -1777,4 +1777,37 @@ stalemateValue = loss
wallingRule = edge
#not ready yet. Other wall variants are "move and wall", this is "move or wall".
#need to figure out way to do this ie. write code for:
#wallOrMove = true
#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

0 comments on commit 5d3af09

Please sign in to comment.