The problem
Pygame games run locally only, no way to share a playable demo without asking people to install Python.
WebAssembly Pygame Port
Pygame platformer ported to WebAssembly via Pygbag and deployed on GitHub Pages, with mobile touch D-pad, SharedArrayBuffer COOP/COEP fix, async game loop rewrite, and a Windows EXE build.

The problem
Pygame games run locally only, no way to share a playable demo without asking people to install Python.
The approach
Rewrote the blocking game loop to async/await for Pygbag WASM, fixed COOP/COEP headers with coi-serviceworker.js, added mobile touch D-pad overlay with keyboard event bridge.
Full Mario-style platformer playable in browser via WebAssembly. Also ships as a Windows EXE via PyInstaller. Mobile touch controls overlay runs on any device.
How data moves through the system. Select a step to see why it’s there.
Step 01
Rewritten from a blocking loop to async/await.
PygameThe same project, read the way a product owner would
Before
Pygame games run locally only, no way to share a playable demo without asking people to install Python.
What changed
Rewrote the blocking game loop to async/await for Pygbag WASM, fixed COOP/COEP headers with coi-serviceworker.js, added mobile touch D-pad overlay with keyboard event bridge.
After
Zero-install play in browser, shareable via URL
Value levers
Stack
Answers only about Shagun’s work. It can be wrong; check the page it points to.