The board and setup

Pieces stand on points where the lines meet. Red starts at the bottom of the diagrams and moves toward the top. Black moves toward the bottom. The river divides the board across the middle. Each general stays inside its own palace, the area marked with diagonal lines.

Set each general face-up at the centre of its back rank. Shuffle each side's other fifteen pieces separately and deal them face-down onto its remaining starting points. Each side has two advisors, two elephants, two horses, two chariots, two cannons, and five soldiers. Neither player knows the hidden identities, including their own. Face-down pieces are often called dark pieces.

START: RED AT THE BOTTOM楚河界漢Mistboard
The generals are face-up. Every plain disc is a face-down piece, red-brown for Red and green for Black. The deal changes identities, while the starting points stay the same.

The coordinates in these examples name points. Files run from a on the left to i on the right, as Red sees them. Ranks run from 1 at the bottom to 10 at the top. So b1 is a horse starting point beside the left corner; e4 is the central soldier starting point.

How a face-down piece moves

A face-down piece moves, attacks, and captures as the piece that normally starts on its point. The corners use chariot moves. Beside them are horse points, then elephant points, then advisor points beside the general. The two pieces set forward behind the soldiers use cannon moves. The front line uses soldier moves. Xiangqi Rules draws each move on its own board.

You move and reveal as a single turn. There is no separate turn for flipping a piece in place. Its hidden identity cannot change the path of this first move: the piece on b1 must make a horse move even if it will turn out to be a cannon or an advisor.

BEFORE: HORSE POINT b1楚河界漢MistboardAFTER: ADVISOR ON c3楚河界漢Mistboard
Red moves b1 to c3 as a horse, which needs b2 empty. It lands and reveals as an advisor. The horse move from b1 to d2 is blocked by the piece on c1.

Both players see the identity when the piece lands, and from then on it moves and attacks as that piece.

A cannon capture can reveal a soldier

A cannon captures by jumping over exactly one piece, and a face-down piece on a cannon point does the same. At the start, Red can play b3 to b10 by jumping over the black piece on b8, which stays where it is.

BEFORE: CANNON POINT b3楚河界漢MistboardAFTER: SOLDIER ON b10楚河界漢Mistboard
The piece makes a cannon capture over b8, then reveals as a soldier. Red learns the captured identity. Black sees its face-down piece leave the board.

The revealed soldier has already crossed the river, so from b10 it can step sideways, but it cannot go back to b9.

Revealed pieces use their own moves

A revealed advisor may leave the palace. A revealed elephant may cross the river. Their movement shapes stay the same: an advisor moves one point diagonally, and an elephant moves two diagonally, with the point between, called the eye, empty. The general always stays inside its own palace.

REVEALED ADVISOR: c3 TO d4楚河界漢Mistboard
After the b1 to c3 reveal and a Black reply, the advisor can step from c3 to d4. It can continue playing outside the palace.
REVEALED ELEPHANT: a5 TO c7楚河界漢Mistboard
A different deal puts an elephant under a4. Red moves it to a5 as a soldier. After Black replies, the elephant can capture on c7 across the river because b6, its eye, is clear.

A soldier follows its river rule from wherever it reveals, so a corner reveal can leave you with a soldier far behind your front line.

CORNER REVEAL: SOLDIER ON a3楚河界漢Mistboard
Red can slide the dark piece from a1 to a3 as a chariot. Here it reveals as a soldier. It will have to advance as a soldier on later turns; its own piece on a4 currently blocks it.

Captured dark pieces

If a piece is captured face-down, only its capturer learns its identity. Its former owner and spectators see a dark piece leave the board and nothing else. The capturer can then rule that identity out among the pieces still hidden. If the piece had already revealed, everyone already knew what was taken. The piece that made the capture reveals to both players either way.

CAPTURE楚河界漢MistboardCAPTURED PIECE KNOWLEDGERED KNOWSthe captured piece was a horseBLACK KNOWSone dark piece disappeared

Check, checkmate, and draws

A general is in check when an enemy piece attacks its point. A face-down enemy piece attacks using its starting-point role. A piece that has just moved attacks using its revealed identity, so you must look again after every reveal.

You must answer check on your turn, and a move that leaves your own general attacked is illegal. The generals also cannot face each other along a clear file. Any piece, including a face-down one, can block that file.

Position or eventResult on Mistboard
The player to move is in check and has no legal move.Checkmate. That player loses.
The player to move has no legal move, even without check.Stalemate. That player loses.
120 plies pass without a capture.Draw. A ply is one move by one player, so this is 60 moves by each side. Revealing a piece alone does not reset the count.
The same position with the same side to move occurs for the third time.A player who checked on every one of their turns in the repeating cycle loses. If neither player did, or both did, it is a draw.

Mistboard does not judge chases, so a repeated chase without check is a draw.

A sample game

AB-JChess, playing Red, against jqe, from their 600-game match in October. Black is at the bottom of this board. Black’s advisors show what a revealed piece can do: one reveals on i6, crosses the river and takes an elephant on g4 on move 10, and the other reveals on e6 and walks to d3, next to Red’s general. Red’s reveals go the other way: a chariot on c5 is taken the moment it turns over on move 20, and the a1 corner holds a soldier. Black mates on move 30.

For more good games, the match write-up goes through this one and four others, and Fourteen wins against our jieqi bot shows how players have beaten it.

Common questions

How is jieqi different from xiangqi?
Same board, same pieces, same checkmate goal. Every piece except the general starts face-down and shuffled, moves once as the piece that normally starts on its point, then flips and plays as itself. Revealed advisors may leave the palace and revealed elephants may cross the river.
Can I look at or flip my own face-down pieces without moving them?
No. You learn a piece only when it moves, and a reveal is always part of a legal move.
Can a revealed advisor leave the palace, and can an elephant cross the river?
Both, yes. After revealing, a piece plays by its identity anywhere on the board. Advisors still step one point diagonally and elephants still move two, blocked at the eye.
Is stalemate a draw in jieqi?
No. The player with no legal move loses, even when their general is not in check.
Where can I play jieqi online?
Here. Play a bot starts a game at the level you choose; Play a friend makes an invite link. No account is needed, and finished games get a move-by-move review.
Is there a jieqi app?
There is nothing to install. Mistboard runs in the browser on a phone, tablet, or desktop.
Can I play jieqi against an AI?
Yes, at eight levels and one stronger bot. Levels 1 to 8 run a Pikafish build patched for jieqi rules, which judges positions by hand-written rules, and a strong human can beat it. Above them is AB-JChess, an open-source engine with its own neural network, which beat Level 8 in 248 of 400 games. Neither can see your hidden pieces: each gets the same face-down board you do and is never told the deal.
Any tips for jieqi?
A dark piece is a one-shot option: on a chariot point it is a chariot for exactly one move, then whatever it really is. Do not spend that move on a cheap job. Strong players push a soldier before flipping the cannon, race to reveal a real chariot, and stop flipping once three major pieces are out. None of it has been measured; the openings article on this site lays out the argument with sources.

Play on Mistboard

Above the eight Pikafish levels sits AB-JChess, the strongest jieqi bot on the site.

Play a botPlay a friend