Shogi (Japanese chess): play online and learn the rules

Shogi is a two-player strategy game from Japan. You win by checkmating the opponent's king. Pieces you capture join your side and can be dropped back onto the board.

Game settings

Rules of Shogi

Goal of the game

Checkmate the opponent's king: attack it so that no move can save it.

Setup

  • A 9×9 board. Each player has 20 pieces: 1 king, 1 rook, 1 bishop, 2 gold generals, 2 silver generals, 2 knights, 2 lances and 9 pawns.
  • Sente (Black) moves first. Both players' pieces look alike; the direction a piece points shows its owner.
  • The three rows farthest from you are your promotion zone.

How to play

  1. On your turn, either move one piece on the board or drop one captured piece from your hand onto an empty square.
  2. Capture by moving onto an opponent's piece. It becomes yours (unpromoted) and goes to your hand.
  3. When a piece moves into, within or out of the promotion zone it may promote; pawns, lances and knights must promote when they would otherwise have no further move.
  4. Promoted pawn, lance, knight and silver move like a gold. A promoted rook (dragon) or bishop (horse) also moves one square like a king.

Winning, losing and draws

  • You win by checkmate. A player with no legal move loses.
  • If the same position (with the same pieces in hand and side to move) occurs four times, the game is a draw (sennichite) — unless one side gave check on every move, in which case that side loses.

Common beginner mistakes

  • Two unpromoted pawns of yours on the same file (nifu) are not allowed.
  • You may not checkmate by dropping a pawn (uchifuzume). Checkmating with a pawn that moves is fine.
  • You cannot drop a piece where it could never move again, such as a pawn or lance on the last rank.
  • Leaving your own king in check is illegal.

Terms

Ōte
Check: an attack on the king.
Tsumi
Checkmate.
Mochigoma
Captured pieces in hand that can be dropped.
Nari
Promotion; the piece is turned over.
Sennichite
A draw by fourfold repetition.

Rules used in this app

  • Illegal moves, including nifu and pawn-drop mate, are rejected automatically.
  • Fourfold repetition is a draw; perpetual check loses.
  • Impasse rules (jishōgi, entering king declaration) are not implemented. Games are even (no handicaps).

CPU level

  • Lv.1 Novice — Plays a random legal move.
  • Lv.2 Beginner — Looks one move ahead and prefers capturing pieces.
  • Lv.3 Intermediate — Reads 2 moves ahead by material and never misses a mate in one.
  • Lv.4 Advanced — Reads 2 moves ahead plus capture sequences, and considers king safety.
  • Lv.5 Highest — Searches up to 4 moves ahead within about 3 seconds with king-safety evaluation. Still beginner-to-intermediate strength.

The level only changes how the CPU chooses its moves; the rules are the same at every level.

FAQ

Which pieces can be promoted?

Pawn, lance, knight, silver, bishop and rook. The king and gold general never promote.

Can I drop a piece to give check?

Yes. Only checkmating by dropping a pawn is forbidden.

How do I drop a piece?

Tap the piece in your hand, then tap an empty highlighted square.