May I introduce to you the TIC-80, mini Free and Open Source fantasy console.

It is pretty amazing that it's not just the player part, but also includes a full game editor suite as well (script editor, map editor, sound sequencer, Amiga MOD-like music editor etc.). I don't know how usable it is on this tiny screen (probably not fun to actually use it), but it's just damn amazing that they could squash all of that into this mini console.
I haven't tried to compile it yet, but looks straightforward (usual cmake and make), and looks like it supports WASM target as well. If anybody gives it a spin, let us know how it went!
Cheers,
bzt