Live data from Hacker News

This game is a single 13 KiB file that runs on Windows, Linux and in the Browser

iczelia.net

21–30 of 93 posts

Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser

#22

One of the interesting things about Polyglot is that nobody did it any sooner. It would have been feasible a decade ago or two ago.

Now I wonder when the first polyglot file was published. I kinda just assumed they'd been around forever. EICAR.COM comes to mind as a COM/plaintext polyglot

Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser

#23

I love the idea of applications which exist in one file which you can run anywhere. I've been working towards this with my serverless platform; you can build complex data-driven apps with just one .html file and mostly declarative HTML markup (thanks to web-components which are loaded from a remote server). With modern browser features, you don't need a bundling system. Once you do away with it; a whole universe is o…

Sadly a lot of browser features are inaccessible from non-https contexts.

Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser

#24

On a related note -- when I see the minuscule filesize of the original Zelda game on emulators, I marvel at how little text/code/information could produce how much wonder, how far-reaching impact, and how many hours of enchantment for me. https://en.wikipedia.org/wiki/The_Legend_of_Zelda_(video_gam...

Zelda 1 was 128 kB, for those wondering, and that's without any compression. Double that for the sequel.

Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser

#25
post #19

Wonder why they don't give a demo/link to the browser version

It's the same file, you just rename it to end in '.html'

sure but they have a blog and a webserver that's serving html. just put the .html version there so i dont have to download anything or mess about too much. just want to click and see it

Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser

#26
post #23

I love the idea of applications which exist in one file which you can run anywhere. I've been working towards this with my serverless platform; you can build complex data-driven apps with just one .html file and mostly declarative HTML markup (thanks to web-components which are loaded from a remote server). With modern browser features, you don't need a bundling system. Once you do away with it; a whole universe is o…

Sadly a lot of browser features are inaccessible from non-https contexts.

Don't most (all?) browsers consider file:// and localhost to be secure for the sake of enabling those features?

https://developer.mozilla.org/en-US/docs/Web/Security/Defens...

Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser

#27
Semi-related: Windows EXE files are runnable in DOS (at least when DOS was a thing, so for Windows 3.1x or 9x), but most of the time the DOS part just prints "This program requires Microsoft Windows." and exits. An exception is regedit.exe, that one can use to import registry values even in DOS. (Huh, although, how does it do that without using Windows API?)

Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser

#28
post #5

Not cross-platform, but I'm reminded of the kkrieger game for Windows which was a 96k FPS game that looked visually impressive for the time. https://web.archive.org/web/20100304155706/http://www.thepro...

From that link: Still works on modern PCs! Was able to DL and launch.

The source code is available as well: https://github.com/jaromil/kkrieger-werkkzeug3

Re: This game is a single 13 KiB file that runs on Windows, Linux and in the Browser

#30
post #26
post #23

Earlier quoted context omitted.

Sadly a lot of browser features are inaccessible from non-https contexts.

Don't most (all?) browsers consider file:// and localhost to be secure for the sake of enabling those features? https://developer.mozilla.org/en-US/docs/Web/Security/Defens...

Unfortunately, no. CORS will block this on Chrome and Firefox.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/COR...

The security risk : https://www.mozilla.org/en-US/security/advisories/mfsa2019-2...

You need a local webserver. Or bundle everything in one html file.

Post reply on HN