From ceedd61356ff1e0850d98307dde38721dea1afe4 Mon Sep 17 00:00:00 2001 From: rainrat Date: Wed, 6 Sep 2023 20:31:03 -0700 Subject: [PATCH] Add Nim, Roll-ing to Four --- src/variants.ini | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/src/variants.ini b/src/variants.ini index 45327f5..1028379 100644 --- a/src/variants.ini +++ b/src/variants.ini @@ -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. -- 1.7.0.4