Skip to content
Back
2026Shipped

Quantum Minesweeper / Quantum Fourier Terminal

Minesweeper as a quantum field: revealing is observing, observing collapses; marking, rewinding and scanning leave room for deduction.

Quantum Minesweeper / Quantum Fourier Terminal 界面截图
My role
Solo — game design, interface, and all front-end implementation
Stack
Single-file HTMLWebGLCanvas 2DWeb Audio

Play a round

Single-file build · Q W E R keys work新窗口

手机端点上方按钮暂停或静音;桌面也可以进画面后按空格暂停、按 M 静音。 画框滚出屏幕时会自动暂停声音。

The problem

Minesweeper is a deduction game, but some endgames leave a few cells with identical information. More calculation returns no answer; you pick one and hope. A wrong guess ends the run, and every deduction before it.

I didn't want to remove mines or the penalty. That would weaken the tension too. What needed to change was how the player handles uncertainty: can a judgement stay visible, can a wrong guess cost something and still let you continue, instead of restarting?

The approach

Treat the board as a quantum field. Unrevealed cells sit in superposition; revealing one is an observation and collapses it. The quantum tag records "I think this one is suspicious" without ending the judgement; phase rewind takes back one call and is meant to correct a mistake, not restart the run.

Spectral scan and harmonic resonance provide local information at a resource cost, not as a replacement for deduction. Field rebuild switches difficulty, clears the field and sends the score to the leaderboard. Luck is still present; the player just has more ways to handle it.

How I built it

Built in 2026. I did the game design, interface and all front-end implementation, using single-file HTML, WebGL, Canvas 2D and Web Audio. The whole thing is zero-dependency; build.sh concatenates styles, DOM and a dozen modules into one file you can open.

Internals are split by responsibility: BoardCore is pure logic and never touches the DOM; GLField draws the quantum field with a WebGL shader; Bloom handles canvas glow; FX owns six parallax background layers and the particle pool; AudioEngine synthesises sound with Web Audio and exposes an AnalyserNode; Director runs every stage and skill effect; Circuit draws the quantum circuit in SVG.

The HUD numbers — latency, confidence, coherence time — are real readings from the state machine and audio analysis, not decoration.

Result

The game is finished and playable at https://shenfall.kimi.site, or embedded at /games/quantum-fourier-terminal.html.

Known limitation: bloom on mobile is expensive, so it is off by default. The project doesn't remove uncertainty from Minesweeper; it turns the moment that used to be a guess into a process of marking, rewinding and spending resources.

Quantum Minesweeper / Quantum Fourier Terminal 截图
Quantum Minesweeper / Quantum Fourier Terminal 截图
Quantum Minesweeper / Quantum Fourier Terminal 截图