I just noticed that I can actually compile my Chip-8/SuperChip runner to JS with Scala-JS:
https://joaocosta.eu/Demos/Chip8/?program=games/chipcross.ch8
Some games might look a bit janky - that's intended, as I'm keeping the clock speed at around 1kHz.
But that can be increased with a query parameter: e.g. &clockSpeed=5000
To play the games:
- ChipCross: Move the cursor with WASD, select with E.
- RPS: Just use
z,xandcto pick "Rock", "Paper" or "Scissors" - Rush Hour: Move the cursor with WASD, select with Z. Keep Z pressed and move to drag objects.