A snake game made in C that runs on the web platform through  WebAssembly without using  Emscripten.

NOTE: If the game does not seem to be responding to the controls it might not be  under focus, to fix this click inside the game area with your mouse to force it to be focused.

Requirements:

  • The browser and system must support WebGL 2.0.
  • Graphics acceleration will probably need to be active for it to work. 

Comments

Log in with itch.io to leave a comment.

If you use C  to write the game, why don't you make it complex and interesting

Yes i get that it is not that interesting as it is, i might improve it a bit later, but this was mainly a way to understand how to get C running on the web, how WebAssembly works and how to use the WebGL api.

OK, that makes sense. I opened this webpage because I was curious about how smooth WASM is.