Hex Diffusion
A strategy game on a hex grid where probability diffuses across cells like a quantum gas, complete with interference and diffraction.
Hex Diffusion runs on a custom internal build at dimension 7. The public editions cap out at dimension 3 (Qutrit) or 2 (Qubit), so you cannot reproduce this game with a shipped build.
Overview
Each hex cell is a 7-dimensional qudit (one state per hex neighbor direction, plus center). Players place units that spread quantum probability using fractional Hadamard gates. Walls create barriers via the Grover oracle pattern: probability reflects off them through destructive interference. Combat resolves by measuring contested hexes.
Key mechanics
| Mechanism | Call | Game effect |
|---|---|---|
| Probability diffusion | cell.hadamard(t) | Fractional H^t spreads probability gradually |
| Interference barriers | phaseRotate(Math.PI, { when: [cell.is(wall)] }) | Grover oracle, walls reflect probability |
| Focus ability | cell.inverseHadamard() | Concentrate probability back to specific cells |
| Neighbor entanglement | a.iSwap(b, 0.5) | Adjacent hexes entangle at shared boundaries |
| Battle resolution | measure(...cells) | Combat pulse collapses ownership |
The dimension-7 design maps directly to hex geometry: |0⟩ = center, |1⟩ to |6⟩ = six neighbor directions. Interference and diffraction emerge naturally from the quantum mechanics. Probability waves bend around corners and reflect off barriers.