Simple NES emulator in JavaScript.
Place your ROM file and add the file path to index.html.
<option value="./rom/mario1.nes">mario1</option>
Start a local web server.
$ ruby webrick.rb 9999
Then, you can play the game via http://localhost:9999.
NES | Keyboard |
---|---|
Up | W |
Down | S |
Left | A |
Right | D |
A Button | L |
B Button | K |
Start | Enter |
Select | Space |
Confirmed these games worked well.
https://www.nesdev.org/wiki/Nesdev_Wiki
https://www.nesdev.org/wiki/NES_reference_guide
MIT License. Please see LICENSE file.