On your turn, click a face-down piece to flip it, OR move one of your own face-up pieces.
Each piece captures any adjacent enemy of equal or lower rank.
Soldier can capture General (1 beats 7). General cannot capture Soldier.
Cannon jumps along a row or column over exactly one piece to capture anything, ignoring rank.
The first flipper plays the revealed color. You lose if you have no legal move.
Draws
By agreement — in online play, tick "Offer draw" on your move; the opponent can Accept (or just play, which declines).
Threefold repetition — if the same position with the same side to move recurs three times with no flip or capture in between, the game is drawn automatically. You'll be asked to confirm the move that would seal it; turn the prompt off under Settings → "Confirm before threefold draw".
40-move rule — if 40 consecutive half-moves go by with no flip and no capture, the game is drawn automatically. Flips and captures reset the counter.