News for hackers. Stuff that matters.
Re:Is WebAssembly the Return of Java Applets and Flash? by derefr on Thursday July 26, 2018 @11:10AM (#17618062)
Potentially fun questions: are there any “DOM-native JavaScript games”? I.e., games that manipulate the DOM for their “graphics”—or even have hypertext in place of graphics—rather than running in a canvas?

The only example I can think of is the Twine engine for Interactive Fiction.

Re:Is WebAssembly the Return of Java Applets and Flash? by SenHeng on Thursday July 26, 2018 @11:23AM (#17618161)
Well there's this.

https://github.com/mozilla/BrowserQuest

Doesn't work in Safari.

Re:Is WebAssembly the Return of Java Applets and Flash? by jayflux on Thursday July 26, 2018 @08:16PM (#17622488)
You should look into Crafty, it’s a js game engine which can output to either the DOM or canvas, I’m not sure how popular it is anymore but quite a few games used it. There are demo games here http://craftyjs.com