How many legal moves does a typical xiangqi position have?

These answers restate the rules implemented by our open-source engine, which follows the WXF laws and is regression-tested against the official 110-diagram repetition casebook. Where an answer refers to a specific position, that position lives on the linked reference page, where the build verifies it against the engine before publishing.

Direct answer

Roughly thirty to forty legal moves in a typical middlegame position, which is somewhat lower than chess's average branching factor despite xiangqi's larger board. The confined general, the blockable horse, and the screen-dependent cannon all cut down on options that a bigger board might otherwise suggest.

Why a bigger board doesn't mean more moves

Xiangqi packs restrictions that chess does not have: horses lose moves to blocked legs, elephants and advisors are limited to a handful of points each for the entire game, and cannons need a screen to threaten anything at all. Those restrictions offset the extra squares a 9x10 board would otherwise offer.

What this means for calculation

A somewhat lower branching factor makes deep calculation slightly more tractable than in chess, move for move, which is one reason engines reach very strong play relatively efficiently. It is a small effect, not a large one, the overall complexity of the two games remains in the same broad range.

Related questions

Does this vary a lot by position type?

Yes, considerably, a cramped opening or a sparse endgame can have far fewer legal moves than a wide-open middlegame.

Is xiangqi's total number of possible games smaller than chess's as a result?

The two are usually put in the same broad order of magnitude, see is xiangqi harder than chess for the numbers.

Try it on a real board

Reading an answer is one thing; playing it is another. Free, instant, and nothing to install.