Anonymous
Community variant

riverpalace_xuigqi_v2

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
troingay
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), horse (n), soldier (p), piece (c) and elephant (e).
  • Some pieces have restricted movement regions: mobilityRegionWhiteKing is d1 e1 f1 g1 d2 e2 f2 g2.
  • Some pieces have restricted movement regions: mobilityRegionBlackKing is d9 e9 f9 g9 d10 e10 f10 g10.
  • Some pieces have restricted movement regions: mobilityRegionWhiteElephant is *1 *2 *3 *4 *5.
  • Some pieces have restricted movement regions: mobilityRegionBlackElephant is *6 *7 *8 *9 *10.
  • 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.

Move rules

  • Castling is not allowed.
  • En passant is restricted to the configured target region.
  • Facing generals/kings on the same open file are illegal, as in Xiangqi.

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.

Draws and adjudication

  • Perpetual check is illegal.

Fairy-Stockfish rules

# River Pale Shako (Xiangqi Rules Edition)
# 10x10 Shako board with Xiangqi movement restrictions, blocking pieces, and Flying General.
[riverpalace_xuigqi_v2:shako]

# Starting position: Rooks, Horses, Bishops, Elephants, Queen, General, Cannons, Soldiers
startFen = rnbeqkebnr/10/1c6c1/p1p1pp1p1p/10/10/P1P1PP1P1P/1C6C1/10/RNBEQKEBNR w - - 0 1

# Disable Western chess mechanics
castling = false
enPassantRegion = -
mandatoryPawnPromotion = false
promotionPieceTypes = -

# Replace Chess Knight and Shako Elephant with blocking Xiangqi Horse (nN) and Elephant (nA)
knight = -
horse = n
fersAlfil = -
elephant = e

# Xiangqi Soldiers (cross river at rank 6 to gain sideways movement, no promotion)
pawn = -
soldier = p
soldierPromotionRank = 6

# Flying General rule: Generals cannot face each other directly on an open file
flyingGeneral = true

# Palace boundaries (4x3 central fortress: files d-g, ranks 1-3 and 8-10)
mobilityRegionWhiteKing = d1 e1 f1 g1 d2 e2 f2 g2
mobilityRegionBlackKing = d9 e9 f9 g9 d10 e10 f10 g10
# Elephants cannot cross the river (confined to their own half of the 10x10 board)
mobilityRegionWhiteElephant = *1 *2 *3 *4 *5
mobilityRegionBlackElephant = *6 *7 *8 *9 *10

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

# Win conditions: Checkmate and Stalemate both lose
checkmateValue = loss
stalemateValue = loss
perpetualCheckIllegal = true