Gamehelpshogi
Basic principles
Shogi is a game from the same family as chess. Each player has a set of pieces, including a king. The goal is to capture the opponent's king. The game ends when a king is in "checkmate", that is when no matter what its owner does, it would end up being captured by the opponent on their next move.
Pieces move differently depending on their type, as described below. Players can only move one piece per turn.
How the pieces move
A piece can never move to a square already occupied by another friendly piece. If a piece moves to a square occupied by an enemy piece, the enemy piece is captured. Except for the knight, pieces cannot jump over other pieces.
- 玉: the king (1 per player). It can move one square in any direction (vertically, horizontally or diagonally).
- 歩: pawns (9 per player). They can only move one square forward.
- 香: lances (2 per player). They can move any number of square directly forward.
- 桂: knights (2 per player). They move two squares forward plus one square to either side (in an inverted "L" shape, either to the left or right). They can jump over other pieces.
- 銀: silver generals (2 per player). They can move one square diagonally backwards, or to one of the three squares in front of them (directly forwards, or diagonally forwards).
- 金: gold generals (2 per player). They can move one square directly backwards, to the left or right, or to one of the three squares in front of them (directly forwards, or diagonally forwards).
- 角: bishop (1 per player). It can move any number of squares diagonally.
- 飛: rook (1 per player). It can move any number of squares orthogonally (forwards, backwards, to the left or to the right).
Promotions
A piece can promote after it moves into, inside or out of the enemy camp, defined as the last three ranks (lines). Promotion is optional, except when declining promotion would result in the piece not being able to ever move again (a pawn or lance on the last rank, or a knight on the last two ranks).
- Rooks (飛) and bishops (角), when promoted, keep their original movement and also gain the ability to move like a king. So a promoted rook (named a dragon, 龍) can now move one square diagonally, while a promoted bishop (called a horse, 馬) can now move one square orthogonally.
- All "small" pieces (pawns, lances, knights and silver generals) lose their original movement when promoted and instead move like gold generals.
- Kings (玉) and gold generals (金) can't promote.
Drops
When a player captures an enemy piece, they return it to their unpromoted form and take it in hand. On a player's turn, instead of moving one of their pieces on the board, they can drop one of their pieces in hand on any free square of the board.
There are a few restrictions:
- It is illegal to drop a piece where it wouldn't be able to move (pawns and lances on the last rank, and knights on the last two ranks).
- It is illegal to drop a pawn in a file (column) where the player already has an unpromoted pawn. This rule only applies to pawns.
- It is illegal to immediately checkmate the opponent's king by dropping a pawn. This rule only applies to pawns.
Pieces are always dropped unpromoted. A player can promote a dropped piece as per the usual rules the next time they move it.
Differences to keep in mind for chess players
Pawns do not capture diagonally, but directly forwards (the same way they normally move).
There's no special moves: pawns can't move two squares, there's no en passant, and no special castling move.
Perpetual checks don't end in a draw: they're considered illegal. Checking the enemy king so that the same position repeats four times loses the game for the person giving the checks.
Stalemates are an extremely rare occurence in Shogi, but they don't end in a draw either. A player that has no legal move on their turn loses the game.
Other, less important rules
Repetitions
If the same game position appears four times throughout the game, it immediately ends in a draw.
A "game position" includes the pieces on the board, the pieces in hands, and which player has the turn.
If this position has been achieved four times by repeatedly checking the opponent's king, then instead of a draw, the game ends with the player being in check winning.
Entering kings
Rarely, a game can end up in a situation where no player can realistically checkmate their opponent's king.
This happens when one or both kings have entered their enemy's camp. Because shogi pieces move mostly forwards, they can't easily attack a king in their own camp. Such a king will also easily be surrounded by friendly promoted pieces, making its defense impenetrable.
To resolve such a situation, points are attributed to each player depending on the pieces they own (on the board or in their hand). Rooks and bishops are worth 5 points, kings are worth 0 point, and all other pieces are worth 1 point.
Then, on BGA, the following rules are applied:
- If a player got their king in the enemy camp, has at least 31 points, and their king has not been in check at the start of their last three moves they win the game.
- Otherwise, if both players got their king in the enemy camp, and none has been in check at the start of their last three moves, the game ends in a draw.