Skip to content

Instantly share code, notes, and snippets.

@autocorr
Last active June 19, 2023 21:12
Show Gist options
  • Save autocorr/1c3fc6f8bae2aa9924e67f2bc47bd011 to your computer and use it in GitHub Desktop.
Save autocorr/1c3fc6f8bae2aa9924e67f2bc47bd011 to your computer and use it in GitHub Desktop.
Fairy-Stockfish variant file for Hopper Race.
[hopperrace]
maxRank = 8
maxFile = 8
gold = g
silver = s
queen = f # flag piece used for mandatory promotion
customPiece1 = l:mfFmfWmgQ # non-capturing hopper
customPiece2 = p:fFmfW # breakthrough pawn
startFen = 1slggls1/8/1pppppp1/8/8/1PPPPPP1/8/1SLGGLS1 w - - 0 1
extinctionValue = loss
extinctionPieceTypes = l
promotionPieceTypes = -
promotedPieceType = p:f l:f
promotionRegionWhite = *8
promotionRegionBlack = *1
mandatoryPiecePromotion = true
flagPiece = f
flagRegionWhite = *8
flagRegionBlack = *1
flagMove = false
stalemateValue = loss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment