Learning by Doing, Tetris in Webassembly, a Roadmap

The current goal of this blog is to implement a Tetris clone in Webassembly. During the course of this implementation, we are going to touch on key Webassembly development points and hopefully we are going to have a better understanding of what it takes to have a full project implementation in Webassembly. This is not going to be a quick and dirty implementation, we are going to try to address concerns as debugging, loading time, split code into multiple modules, etc…

Here is an unordered and not comprehensive list of tasks to get there (crossed items are already done):

Subscribe to the mailing list to receive an email whenever a new post is out!

wikipedia-tetris-game-example

Image above from Wikipedia


Leave a message below. Webassembly is evolving rapidly, please let me know if this post got outdated.

Enjoyed this post?

Don't miss new posts: Share it with your friends:

2 Responses

  1. karlos says:

    You could show another advantage of WASM and use an already existing source code for the gameplay.

    • webassemblycodecom-admin says:

      Hi Karlos,
      Thanks for the suggestions.Yes, along the way I plan to show some comparisons between Webassembly and mostly Javascript. For instance, right now I am working on implementing SHA256 in Webassembly, but will also implement it in Javascript and compare how they perform.
      Regarding the game source code, now I am looking for an existing source code for tetris to work with, I am looking for it both online and in books. There are several books that use Tetris as a learning platform.
      Do you have any suggestions for the game source code you mentioned above?

Leave a Reply

Your email address will not be published. Required fields are marked *