The possibilities are many, wish I had more time to play with this kind of stuff.
I believe it's how http://repl.it and similar sites work.
Tangentially, aside from porting games, http://luatut.com/crash_course.html is one of the better uses [of Emscripten] I've seen. Press Escape and a console drops down. Handy way to learn a language.
Also the first game I learned to 'hack', and it's what set me on the path to learning programming: I discovered a hex file editor on a floppy and had a hunch about how things might fit together.
So I saved a game, waited a second until some money was spent in the game and then saved again into a different slot. Thereafter I went through the two save game files, visually figured out which parts were different between the files, changed the magical numbers I saw, reloaded the game and slowly figured out how to make myself rich :)
(This worked much better than my earlier attempt with the disk editor I found where I thought I was really clever compressing files by changing their size to 0.)
95 years from publication or 120 years from creation whichever is shorter (anonymous works, pseudonymous works, or works made for hire, published since 1978)
1923 is the base-line year for any works with a proper copyright notice. 1977 for any works at all, as the requirement for a notice or registration was eliminated.
My first job was at Virgin Games as an artist. I got a beta version of Dune II, and played it obsessively.
The artwork Westwood Studios created was very inspiring - their artists were very good and developed some wonder palettes.
Brings back memories.
Strangely, they seem to have managed to disable the browser's built-in zooming.
So yeah, fun, but squinty.
I believe it captures all keyboard input. But if you click the URL bar, you should then be able to zoom in and out (since then the page doesn't get key events).
It amazing/annoying how different the UI is from the modern games. For example to move a unit you must click the "move" button and the click the place where you want to go. There are a million of details that make modern games easier to play.
In short, he says that sync model used in OpenDune ran very badly in JS, so he had to replace it with async model (thus introducing some bugs).
He also lists hotkeys:
Attack, Move, Harvest, Retreat, Guard, Tab, Build