Hey HN!<p>I wrote a post about how to use WebAssembly to port the Asteroids game to the web by compiling the game from C to WebAssembly.<p>Tutorial: <a href="https://medium.com/@robaboukhalil/porting-games-to-the-web-with-webassembly-70d598e1a3ec?source=friends_link&sk=20c835664031227eae5690b8a12514f0" rel="nofollow">https://medium.com/@robaboukhalil/porting-games-to-the-web-w...</a><p>Live demo: <a href="http://www.levelupwasm.com/apps/asteroids/index.html" rel="nofollow">http://www.levelupwasm.com/apps/asteroids/index.html</a>