Re:Setris – Tetris with Sand Physics
by junon on Tuesday May 30, 2023 @08:51AM
(#36124236)
I'm saying that the capabilities of the game in question and the original Tetris are also orders of magnitude larger, you just don't see them directly because you're biased to comparing this game to the original due to its visual and gameplay style, and that comparing the two to measure the value of "bloat" is an absurd thing to do.
[ Parent
| on HN ]
Re:Setris – Tetris with Sand Physics
by throwme_123 on Tuesday May 30, 2023 @09:45AM
(#36124823)
Sorry but sand physics is probably doable in a few kb (yes, that's kilobytes) of JS.
This is different and simpler but just 140 bytes (not k): https://codepen.io/KilledByAPixel/pen/WNGQWZG
Nothing in that game justifies being more than 1mb (being very generous...) minified as a browser app.
Of javascript. Which has a stupidly large runtime that is certainly not just a few kilobytes.
Sorry, I have to make one last snarky comment. You can probably include entire firefox along with that a few kb of js and still make it under whatever that 60mb expands to :)
Sure, let's maybe make an electron app.
Re:Setris – Tetris with Sand Physics
by throwme_123 on Thursday June 01, 2023 @12:33AM
(#36147600)
Ok, was mentioning without the browser runtime obviously.
Opionated take, but I believe that the web common runtime should be part of the OS nowadays.
Even without this, Tauri is 8Mb.