Skip to content

Commit

Permalink
Add Nim, Roll-ing to Four
Browse files Browse the repository at this point in the history
  • Loading branch information
RainRat authored and ianfab committed Sep 7, 2023
1 parent 6e37b8c commit ceedd61
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/variants.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1657,6 +1657,26 @@ pawnTypes = p
petrifyOnCapture = true
enPassantRegion = -

#https://en.wikipedia.org/wiki/Nim
#FSF can be used to analyse Nim. The number of empty squares between the pieces is the number of items in the stack,
#the number in the custom piece is the number of items you can nim. This is the popular 1-3-5-7 stacks layout.
[nim]
maxRank = 9
maxFile = d
#if the Nim variant has special rules, ie.nimming<=3 pieces then:
#customPiece1 = p:mfR3
customPiece1 = p:mfR
startFen = 3p/4/2p1/4/1p2/4/p3/4/PPPP
stalemateValue = loss

#https://www.ludii.games/details.php?keyword=Roll-Ing%20to%20Four
[roll-ing-to-four]
maxRank = 10
maxFile = d
customPiece1 = p:mfFmfW
startFen = 1ppp/4/4/4/1PPP/ppp1/4/4/4/PPP1
connectN = 4

#https://www.ludii.games/details.php?keyword=Quad%20Wrangle
[quadwrangle:ataxx]
#different sources give different info on whether it is a 7x7 or 8x8 board.
Expand Down

0 comments on commit ceedd61

Please sign in to comment.