Skip to content
Evil Penguin

Thoughts, stories and ideas.

README.md
★
c-in-the-web.md

C Game in the Browser

· 1 min read · #GitHub

Any game developed in C using MLX42 is playable in any browser using WebAssembly, Emscripten, and GitHub Pages. Try it yourself now!

C Game in the Browser

Try it now:
https://42-course.github.io/dino_game/demo.html

I also created an embed version: (so it can be placed in any website at any size)

https://42-course.github.io/dino_game/embed.html

Soon I'll upload a post showing you how you can do this for any game you have, with a Makefile example that works for both compilation in the web and normally, as well as the whole deployment of the game with Github pages.