Luzhanqi
Play Luzhanqi, Chinese army chess, against the computer: hidden pieces, a fair referee, railways, camps and landmines. Set up your army and capture the flag.
How to play
- You play red at the bottom; the computer plays blue at the top. Each side has 25 pieces on its own half: the posts of five columns and six rows, apart from the five round camps, which start empty. The two wide posts on the back row are headquarters.
- Set up first: tap two of your pieces to swap them. The flag must stand in a headquarters, landmines on the two back rows, and bombs off the front row. Then press Start the battle. You move first.
- A move takes one piece one step along a thin line (a road), or any distance in a straight line along a thick dashed railway, as long as nothing is in the way. Engineers may turn corners on railways. The halves meet only at three crossings; mountains block the other two.
- Moving onto an enemy piece is an attack. The higher rank wins and stays; equal ranks are both removed. A bomb removes itself and whatever it meets. A landmine destroys any attacker except an engineer, who clears it. Pieces in a camp cannot be attacked.
- Landmines and the flag never move, and a piece that reaches a headquarters stays there for good.
- In hidden play you only see the result of each fight, as a referee would tell it. When a Field Marshal is lost, its side's flag is shown. Capture the enemy flag to win; a side left with no piece that can move loses too.
| Piece | Rank | Each side has |
| Field Marshal | 9 | 1 |
| General | 8 | 1 |
| Major General | 7 | 2 |
| Brigadier | 6 | 2 |
| Colonel | 5 | 2 |
| Major | 4 | 2 |
| Captain | 3 | 3 |
| Lieutenant | 2 | 3 |
| Engineer | 1 (clears landmines, turns on railways) | 3 |
| Bomb | removes both pieces | 2 |
| Landmine | never moves | 3 |
| Flag | never moves | 1 |
Keyboard and touch
| Tab | Move from post to post |
| Enter or Space | Pick the focused piece, or move it to the focused post |
| Tap a piece, then a marked post | Move or attack. Gold marks are attacks. |
Tips
- Guard the paths to your flag, and put landmines and a strong piece near its headquarters.
- Camps are safe. Park a strong piece in a camp near the front and strike from there.
- Scout with lieutenants and captains. A piece that beats your Captain shows ">3", so send something stronger, or a bomb.
- Keep at least one engineer alive: landmines on the back rows stop everything else.
About this game
Luzhanqi, "land battle chess", is one of the most-played board games in China. It grew out of older war games in the early 1900s, and players often set it up with a third person as referee, who looks at both pieces in each fight and says only who won. Here the page is the referee, and the computer plays fair: it knows its own pieces, and of yours only what the fights have shown and what the setup rules allow. The board, pieces and rules follow the standard two-player game. A separately written Python board, built from its own map of roads, railways, camps and headquarters, lists every legal move in whole computer games and replays each fight to check the page. Everything runs in your browser.