Now that I got a summer break from work, I had a chance to work on something I think is really cool and now it's finally in an appropriate stage for a demo:
http://clb.demon.fi/html5scummvm/
What you are looking at is the ScummVM games engine ported to HTML5/JavaScript! This is yet another success story for Emscripten, a showcase that it is a well-functioning tool for migrating native desktop applications to the web, even those that were not originally architected with the web in mind.
The port is by no means complete, and a good amount of work and polish remains for the future. ScummVM is a large beast, and comprises of multiple internal game engines. Each game engine requires some amount of code restructuring, so at present, only the "Scumm0-6" game engine has been ported, and therefore not all ScummVM games are yet playable. Also, there is a copyright issue, which is why only free game demos have been ported.
The site works best with the Firefox browser (preferably Nightly version to enable asm.js, if you have one). Other browsers have been tested, but they don't currently play back audio.
The ScummVM development team want me to state that this is an unofficial project that the ScummVM team have nothing to do with. Due to the needed refactoring for the code to be JS-friendly, they have expressed disinterest in incorporating the port into upstream, so the codebase will live in its own fork at
https://github.com/juj/emscripten-scummvm.
There's some amount of fixes to emscripten upstream that I will bring about once I get a chance for cleanup, but I was positively surprised to find nothing major, and the whole process was relatively painless.
Thanks to the people who contribute to ScummVM, and to Alon Zakai, Mozilla and other Emscripten authors for the awesome Emscripten project!
Have fun :)
Jukka