Community variant
Yari Shogi
Fairy-Stockfish built-in variant exposed as a casual community variant.
References:
Wikipedia
This is a curated Fairy-Stockfish built-in variant. Gameplay uses
Fairy-Stockfish's canonical built-in definition.
The documentation block below mirrors the relevant built-in settings for the
generated overview and movement diagrams.
Generated rule overview
This variant inherits its base rules from `shogi` and overrides the settings shown below.
Board and setup
Pieces and movement
- The piece set used on the board is: king (k), custom piece 3 (r), custom piece 2 (b), custom piece 1 (n) and shogi pawn (p).
- custom piece 1 (n) is a custom piece with Betza movement `fRffN`.
- custom piece 2 (b) is a custom piece with Betza movement `fFfR`.
- custom piece 3 (r) is a custom piece with Betza movement `frlR`.
- custom piece 4 (g) is a custom piece with Betza movement `WfFbR`.
- custom piece 5 (s) is a custom piece with Betza movement `fKbR`.
Move rules
- Castling is not allowed.
- Pawn double-step moves are disabled.
- A piece may not move to a square where it would have no legal future movement.
Drops and hands
- Pieces in hand can be dropped back onto the board. Droppable pieces are: custom piece 3 (r), custom piece 2 (b), custom piece 1 (n) and shogi pawn (p).
- Captured pieces go to the capturer's hand.
- Drops of shogi pawn (p) are restricted on files that already contain 1 such piece(s).
Promotion
- Promotions are available in the configured promotion zones. The the promotion region for White is all the ranks from 7 to 9 and the promotion region for Black is all the ranks from 1 to 3.
- The pieces that can promote are: shogi pawn (p), custom piece 1 (n), custom piece 2 (b) and custom piece 3 (r).
- Fixed promotion mappings: p promotes to s, n promotes to g, b promotes to g and r promotes to l.
Winning and losing
- Stalemate is scored as a loss for the side to move.
Draws and adjudication
- There is no automatic n-move/50-move draw rule.
- Position repetition is adjudicated after 3-fold repetition as a draw.
- Perpetual check is illegal.
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.
fRffN
fFfR
frlR
WfFbR
fKbR
move
capture
move or capture
initial only
hopper target
Fairy-Stockfish rule documentation
[yarishogi:shogi]
maxRank = 9
maxFile = 7
startFen = rnnkbbr/7/ppppppp/7/7/7/PPPPPPP/7/RBBKNNR[-] w 0 1
shogiPawn = p
rook = l
customPiece1 = n:fRffN # Yari knight
customPiece2 = b:fFfR # Yari bishop
customPiece3 = r:frlR # Yari rook
customPiece4 = g:WfFbR # Yari gold
customPiece5 = s:fKbR # Yari silver
promotionRegionWhite = *7 *8 *9
promotionRegionBlack = *1 *2 *3
promotedPieceType = p:s n:g b:g r:l
pieceDrops = true
capturesToHand = true
doubleStep = false
castling = false
dropNoDoubled = p
immobilityIllegal = true
shogiPawnDropMateIllegal = false
stalemateValue = loss
nFoldRule = 3
nMoveRule = 0
perpetualCheckIllegal = true