Solving the Maze: Exact Proofs and Neural Grandmasters in Quoridor
Why a deceptively simple wooden board game became one of our sharpest laboratories for exact search, spatial reasoning, and high-efficiency neural self-play.
Why Quoridor?
At first glance, Quoridor looks minimal: two pawns race across a grid to reach the opposite edge, and on each turn a player either steps forward or places a two-cell wooden wall to slow the opponent down without completely sealing them off.
Under the hood, Quoridor is brutally subtle. Every wall rewrites the shortest-path geometry of the entire board. A move that looks passive can trigger a non-local maze trap ten plies later, and a single wall placed one square off can invert a won game into a forced loss. That combination of graph topology, resource scarcity, and adversarial planning makes Quoridor an ideal benchmark for testing genuine reasoning versus pattern memorization.
Exact computer-verified theorems on 5×5 and 7×7
Our first research track asks a pure mathematical question: what is the exact game-theoretic truth of Quoridor under perfect play? Using custom C exact solvers built for high-throughput proof search, we established several computer-verified theorems across 5×5 and 7×7 boards:
-
The Horizontal-Only 5×5 Invariant: When only horizontal walls are permitted on a 5×5 board, the second player (
BLACK) has a mathematically proven forced win for every symmetric wall budget from0all the way to infinity (since at most 8 non-overlapping horizontal walls can coexist on the board). -
The Single-Vertical-Wall Phase Flip: At 5 walls per player on 5×5, permitting just one single vertical wall per player shatters horizontal parity and flips the exact empty-board outcome from a forced
BLACKwin (in at most 40 plies) to a forced first-playerWHITEwin (in at most 42 plies). -
The Complete 16/16 Phase Law on 7×7: On the larger 7×7 board at 3 walls per player, we solved all 16 combinations of vertical-wall caps
(v0, v1)from the empty board — mapping the exact boundaries between forcedWHITEwins, forcedBLACKwins, and exact infinite-horizon draws where neither side can force progress against optimal defense. -
Pushing the 7×7 Exact Frontier: We extended verified proofs to unrestricted
W=(4,3)(forcedWHITEwin in ≤31 plies), horizontal-onlyW=(4,4)andW=(5,4), and post-jump exact thresholds whereBLACKwins even against an opponent with unlimited horizontal walls onceBLACKholds at least 4 walls.
2,600+ Elo neural self-play on a single workstation
Exact provers reveal ground truth in structured regimes, but full unrestricted boards still explode combinatorially. Alongside our exact solvers, we built a custom neural self-play and search pipeline for 7×7 Quoridor designed to run entirely on a single desktop machine rather than a giant datacenter cluster.
By pairing a compact multi-threaded C simulation core with batched GPU evaluation, our compact teacher model reached 230,000+ position evaluations per second using under 350 MB of VRAM, and our full grandmaster network reached 2,600.3 Elo in under an hour — outperforming deep classical search baselines while discovering sharp tactical wall sacrifices and defensive tempo traps on its own.
How Quoridor connects back to Space AI
Quoridor is not a side distraction — it is a proving ground for the exact principles behind Space AI:
- Zero-bluff verification: You cannot sweet-talk a theorem prover or a shortest-path maze. Either a line holds under adversarial scrutiny or it collapses.
- Maximum intelligence per watt on local hardware: Pushing 2,600+ Elo training and multi-million-node exact proofs on a single desktop workstation proves how far consumer hardware can go when software is engineered cleanly.
- Search meets intuition: Combining fast neural intuition with calibrated uncertainty and verification is the same bridge we are building into Space AI's Mind Window and open network.
See our open community hardware network in action, or test live word confidence in Space Chat.