This reminds me of the phantasy consoles scene:
* https://www.lexaloffle.com/pico-8.php (paid, $15)
* https://tic80.com/ (Lua, JS, Ruby, Wren, ...., open source, free)
* https://pixelvision8.github.io/Website/ (Lua, C#, open source, free)
I have good memories of playing around with Tic80, now hat v1.0 is out, perhaps I try it again.
Lots of activity in this space recently, there are more at https://github.com/paladin-t/fantasy