r/chessprogramming • u/Mysterious-Tutor-889 • 7h ago
Chess players do mathematics on every move without noticing. Here's what it says about the pieces.
Every chess player already knows some mathematics:
- A bishop never changes colour, and a knight changes colour on every jump. That's parity, counting modulo 2.
- A knight's "two up, one across" is the same from any square. That's a vector.
- Turn the board 90° or look at it in a mirror, and a rook still moves like a rook. That's symmetry. A square has eight of them.
The symmetries sort every possible move into three families: straight, diagonal and crooked (neither straight nor diagonal). There's no fourth family. The shortest move of each family is one square straight, one square diagonally, and the knight's jump. So the rook, bishop and knight aren't random inventions. Each is the simplest move of one family.
Combine those three moves and you get exactly 2³ − 1 = 7 pieces. Chess uses four: rook, bishop, knight, and queen = rook + bishop. Once the queen made combining moves legal, three combinations were left unused: rook + knight, bishop + knight, and all three together. Those are the Chancellor, the Archbishop and the Maharajah.
To be clear about what this does not say: these aren't the only possible new pieces. The 8×8 board allows over a trillion symmetric pieces. And geometry doesn't decide how strong a piece is in play. The claim is narrower: these three complete the combinations of the moves chess already chose.
A few results from solving every king + piece vs bare king ending:
- Bishop + knight in one piece mates from every position, though neither part can mate alone.
- Its average mobility is exactly bishop + knight (8.75 + 5.25 = 14.00), because a knight never lands where a bishop could reach.
- The Maharajah mates in at most 4 moves. The queen needs up to 10.
The article is in two parts: plain chess language first, then the full mathematics (groups, orbits, Burnside's lemma, a closure theorem) for anyone who wants the proofs. The solver's source code is included.


