Experimental · playable
Minesweeper
A Windows game. Its original instructions. A browser.
Play Minesweeper →Desktop mouse and keyboard recommended. Left-click reveals; right-click marks. This is not a touch-optimized game.
The experiment
The upstream C game is compiled to a 32-bit Windows executable, then its x86 machine code is statically translated to WebAssembly. A bounded set of Windows services runs in the browser.
Mine placement, revealing cells, flags, game state and drawing decisions stay in the translated guest code. JavaScript provides the window, graphics and storage services—not a new Minesweeper implementation.
Playable, with limits
The compiled game has been exercised in real Chrome: marking, revealing, losing, winning, nested About/License dialogs, record-name entry, custom board size, and closing/saving followed by a same-origin page reload.
This is an experimental port of one pinned application, not a general Windows emulator or a security sandbox for untrusted programs. Windows chrome, fonts and rendering are not pixel-faithful. Other browsers and touch interaction have not been verified.
Browser-local settings
Settings and scores stay in this browser on this device, using browser storage rather than host files. Close the game with its × button to exercise the original save path, then reload to play again. Data does not sync between browsers and may be cleared or blocked by browser settings; the game shows storage status and offers an app-only reset.
Same-origin page reload has been tested. Persistence across a complete browser restart has not been verified.
Source & attribution
The game is My Minesweeper by Gee Wang, Copyright © 2020, pinned to commit 58f5a3c. It is licensed under GNU GPLv3 or later, without warranty. The upstream project credits Baidu Tieba for its emoji assets.
Download complete corresponding source (.tar.gz)
The download includes pristine upstream source and assets, the committed recompiler and browser runtime, external build sources, GPL license, provenance and rebuild instructions. The playable artifact's hashes are recorded in package metadata.