Anonymous
Community variant

Testing Xiaochess

This is a user-catalogued casual variant. Technical details such as board size, FEN, pieces, and hand rules are defined in the Fairy-Stockfish variants.ini block below.
Uploaded by
neroidtotale
Visibility
public
Status
active

Generated rule overview

This variant inherits its base rules from `shako` and overrides the settings shown below.

Board and setup

Default starting position

Pieces and movement

  • The piece set used on the board is: king (k), queen (q), rook (r), bishop (b), knight (n), soldier (p), piece (c) and piece (e).
  • Some pieces have restricted movement regions: mobilityRegionWhiteFersAlfil is d1 e1 f1 g1 d2 e2 f2 g2 d3 e3 f3 g3.
  • Some pieces have restricted movement regions: mobilityRegionBlackFersAlfil is d8 e8 f8 g8 d9 e9 f9 g9 d10 e10 f10 g10.
  • Some pieces have restricted movement regions: mobilityRegionWhiteKing is d1 e1 f1 g1 d2 e2 f2 g2 d3 e3 f3 g3.
  • Some pieces have restricted movement regions: mobilityRegionBlackKing is d8 e8 f8 g8 d9 e9 f9 g9 d10 e10 f10 g10.
  • Some pieces have restricted movement regions: mobilityRegionWhiteQueen is *1 *2 *3 *4 *5.
  • Some pieces have restricted movement regions: mobilityRegionBlackQueen is *6 *7 *8 *9 *10.
  • Soldiers use restricted pawn-like movement until they reach the configured promotion rank.

Promotion

  • Promotion choices are both sides: no pieces.
  • Pawn promotion is optional where promotion is legal.

Winning and losing

  • Stalemate is scored as a loss for the side to move.
  • Checkmate is scored as a loss for the side to move.

Fairy-Stockfish rules

# River Palace Shako
# Shako with Xiangqi soldiers, palace-bound king/elephants, and river-bound queens.
[riverpalace5:shako]

startFen = rnbeqkebnr/10/1c6c1/p1p1pp1p1p/10/10/P1P1PP1P1P/1C6C1/10/RNBEQKEBNR w - - 0 1

pawn = -
soldier = p
soldierPromotionRank = 6


promotionPieceTypes = -
mandatoryPawnPromotion = false
# Shako's E-piece has FersAlfil (FA) movement: one or two squares diagonally.
# Restrict that piece to the palace without changing its inherited movement.
mobilityRegionWhiteFersAlfil = d1 e1 f1 g1 d2 e2 f2 g2 d3 e3 f3 g3
mobilityRegionBlackFersAlfil = d8 e8 f8 g8 d9 e9 f9 g9 d10 e10 f10 g10

# The king is also confined to its palace.
mobilityRegionWhiteKing = d1 e1 f1 g1 d2 e2 f2 g2 d3 e3 f3 g3
mobilityRegionBlackKing = d8 e8 f8 g8 d9 e9 f9 g9 d10 e10 f10 g10

# Queens cannot cross the river.
mobilityRegionWhiteQueen = *1 *2 *3 *4 *5
mobilityRegionBlackQueen = *6 *7 *8 *9 *10

# The side to move with no legal move loses: checkmate and stalemate both win for the opponent.
checkmateValue = loss
stalemateValue = loss