This is one of the Godot demo projects that I built for the web using the built-in HTML5 target of Godot. The purpose was to have a very basic working example of a Godot game hosted on Gitlab Pages.
It's just a simple Pong game without even a score count.
Players can move by clicking or touching the left and right halves of their area, or by using
Z for the cyan player and
↓ for the purple player.
It can be a quick game to play on a phone with a friend on the bus or subway.
Godot doesn't exactly compile your games to WASM. It's the engine itself that has been compiled to WASM, and is able to interpret GDScript. So all the editor does is pack your assets and scripts and ship them along with that WASM version of the engine.
This makes the process of building a web version of your game very fast (the CI runs in <1min), but the resulting bytecode relatively heavy (~12MB), and the performance not so good. Compare that to the ~3min compile time of Zen Typing (~1min30s cached), and the 720KB of the Roguelike tutorial.