What is the difference between a legal move and a good move in xiangqi?

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

A legal move just follows the rules of how each piece moves, and any board, physical or digital, can check that automatically. A good move also does something useful: develops a piece, meets a threat, improves your position, or sets up an idea. Nothing enforces the second kind; a board will happily let you play a perfectly legal move that loses the game outright.

Why beginners sometimes confuse the two

Early on, simply avoiding illegal moves feels like the whole task, since the cannon's screen rule and the horse's blocked leg take real effort to track at first. Once those become automatic, the harder and more interesting question opens up: of all the legal moves available, which one actually helps?

A simple habit that starts to answer that question

Before moving, ask what your opponent's last move threatened, and whether your candidate move answers it, ignores it, or makes a bigger threat of your own on purpose. That single question, asked every move, is most of what separates aimless legal moves from good ones. See common mistakes for the patterns this habit prevents.

Related questions

Will an illegal move ever just be allowed if it looks reasonable?

No. Legality has no exceptions for how sensible a move looks; a digital board refuses it regardless.

How do I start recognising good moves rather than just legal ones?

Puzzles are the fastest route, since each one has a single correct idea to find. See checkmate patterns.

Try it on a real board

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