Can the general be unable to capture an adjacent enemy 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. The general captures like any other piece, but a capture that would leave it in check is illegal regardless of how tempting the target looks. An enemy piece standing next to the general inside the palace, defended by something that could then take the general, is safe from capture for exactly that reason, the move is refused before it is ever considered a trade.

Why this trips players up

An undefended piece adjacent to the general is always fair game, so it is easy to assume every adjacent piece is. The moment a soldier or another piece has crept next to the general with genuine backup, the capture that looks free is not available at all, and testing legality first rather than assuming it is a habit worth building.

What the attacker actually gains from this

A defended piece parked next to the general can pin down the general's own options without ever being captured, since the general simply cannot take it. That alone can be enough to remove an escape point from a mating calculation, even if the piece itself never does anything else.

Related questions

Is this the same idea as a normal defended piece anywhere else on the board?

Not quite. Any other piece may capture a defended piece and simply be recaptured; the general may not, because the capture would leave it in check.

Can the general ever be forced to capture such a piece anyway?

No. If taking it is the only way out of check, there is no legal way out and it is mate; see can the general be forced to capture a defended piece.

Try it on a real board

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