This directory contains examples of using wasm4go. Some are small and useless, some are almost real games.
Available examples:
- hello: the same code example as wasm-4 CLI generates by default.
- buttons: displays on the screen the button you press.
- snake: re-implementation of the Snake tutorial from thw official WASM-4 documentation.
- tests: integration tests for the project.
- Install the latest dev version of TinyGo.
- Install WASM-4 CLI
- Install task
- Optional: install WABT.
- Run
task run -- ./snake
to run the snake demo.