Quake-like game made with JavaScript takes up just 13KB of storage
Quake-like game made with JavaScript takes up just 13KB of storage
Q1K3 manages to pack in two levels, five different enemy types, three weapons, audio, and more.
You can play it in your browser here.
You're viewing a single thread.
How much of that is third-party libraries, and/or third-party hosted? Obviously the assets (images and music) aren’t being counted.
21 0 ReplyThe whole page transferred about 7kB and shows 18.2kB of ressources according to the debug tools.
39 0 ReplyThe game also requires a renderer (browser) to play.
I think what they did is impressive but the claim about the size feels like taking source code and saying "look how small on disk it is"
29 0 ReplyIt is js, it is always source code.
2 1 ReplyExcept if it's minified for production.
3 0 ReplyThat is still source code, obfuscated but still source code.
5 0 Reply
Not sure about GreaseMonkey, but V8 compiles JS to an IL.
Nodejs has an emit IL debugging feature to see the emitted IL code.
1 0 Reply