Does a soldier block the flying-general rule the same as any other piece?

These answers restate the rules implemented by our open-source engine, which follows the WXF laws for movement, checkmate and both repetition rulings: a side that forces a repetition by perpetual check or perpetual chase loses rather than drawing. The chase half has not been validated against the official casebook. Where an answer refers to a specific position, that position lives on the linked reference page, where the build verifies it before publishing.

Direct answer

Yes, exactly the same as every other piece. The flying-general rule only counts pieces, not their type or value. A lone soldier sitting on the central file between the two generals blocks the rule just as completely as a chariot would, and removing that soldier creates the same illegal exposure removing any other piece would.

Why value does not matter here

Most rules in xiangqi treat pieces very unequally, a chariot and a soldier are worlds apart in strength. The flying-general rule is one of the few that does not care at all: it is a pure count of what stands on the file, so the cheapest piece on the board does the same job as the most expensive one.

What this means practically

A soldier parked on the central file can be an accidental hero: its presence alone can be what lets the two generals stand on the same file. While it is the only piece between them, it may still step forward along the file, but it may not leave it.

Related questions

Does it matter which side's soldier it is?

No. Either colour's piece blocks the file; ownership is irrelevant to the flying-general rule, just as it is to a cannon's screen.

Can a soldier that has not crossed the river still block the file?

Yes, as long as it stands somewhere on the central file between the two generals, its own river status makes no difference.

Try it on a real board

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