Community variant
Trapped
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.
Generated rule overview
This variant inherits its base rules from `chess` and overrides the settings shown below.
Board and setup
- The variant supports Chess960-style castling.
Pieces and movement
- The piece set used on the board is: king (k), custom piece 2 (q), custom piece 3 (r), custom piece 4 (n) and custom piece 1 (s).
- custom piece 1 (s) is a custom piece with Betza movement `BrlWG`.
- custom piece 2 (q) is a custom piece with Betza movement `QNC`.
- custom piece 3 (r) is a custom piece with Betza movement `RN`.
- custom piece 4 (n) is a custom piece with Betza movement `NC`.
Winning and losing
- A flag/goal-zone win is active for piece(s) k.
Piece movement
These diagrams show custom pieces and known Fairy-Stockfish built-in fairy pieces from White's perspective on a compact preview board. Some special moves, especially hoppers and game-state-dependent moves, can still depend on blockers or game state.
BrlWG
QNC
RN
NC
move
capture
move or capture
initial only
hopper target
Fairy-Stockfish rules
[escpp:chess]
variantTemplate = duck
maxFile = 10
maxRank = 10
# 1. THE CASTLING FIX
# Correct parameter name to enable flexible castling rules
chess960 = true
rook = r
# 2. THE EQUI-PIECES
customPiece1 = s:BrlWG
customPiece2 = q:QNC
customPiece3 = r:RN
customPiece4 = n:NC
# 3. WIN CONDITION
flagPiece = k
flagRegionWhite = a10 j10
flagRegionBlack = a1 j1
flagMove = true
# 4. BOARD LAYOUT
# Because chess960 = true is active, we MUST use BIbi to point the engine to the B and I files
startFen = *rnsqksnr*/1********1/*8*/*8*/*8*/*8*/*8*/*8*/1********1/*RNSQKSNR* w BIbi - 0 1