The cannon moves exactly like a chariot: any distance along a file or a rank over empty points. But it captures differently: it must jump over exactly one piece, called the screen (or platform), and land on the first enemy piece behind it.
The rule in four lines
- Moving without capturing: any number of empty points, no jump.
- Capturing: exactly one piece between the cannon and the target, of any colour.
- No piece between them, or two or more pieces between them: no capture.
- The screen is not captured. Only the piece you land on is.
Why cannons are different
Because the cannon needs a screen, it is strongest in the middle game when the board is full of pieces and weaker in a sparse endgame. A cannon on the central file with a screen in front can attack the opposing general. Be careful: when the screen disappears or a second piece steps in, the attack goes with it.
A cannon and a chariot attack in the same lines, but a piece next to a cannon is safe from it, while the same piece next to a chariot would be taken.