Let’s write Pong in WebAssembly


  • administrators

    I’ll be writing the game mostly in C and with a little help from JavaScript for rendering and event handling. Since I’ve got two languages to work with, I could slice the application in several ways but I want to write as much of the game in C as I can, and only use JavaScript for library support. I will not include any .h files thus no external libraries will be available to me, no printf, no malloc, just plain old C. The point of this exercise is to demonstrate how to wire up a minimal WebAssembly program.

    Read the full article: https://medium.com/@mbebenita/lets-write-pong-in-webassembly-ac3a8e7c4591


 

A community for developers looking to put WebAssembly to use today. Come rock WebAssembly with us!