r/programming • u/yui01 • Aug 26 '26
The Depths of JavaScript: Minesweeper in 247 Bytes
https://yui.dev/blog/minesweeper-in-247-bytes55
u/backfire10z Aug 26 '26
I thought the title said “The Death of JavaScript” and got excited. Still cool though.
1
u/Supuhstar Aug 27 '26
e is m… 😵💫
2
u/yui01 Sep 03 '26 edited Sep 03 '26
yep, that makes
bshort-circuit, avoiding opening any cells when you start the game! which is also whyiis a global variable that is initialized *later* instead of being a function argument, it'd fail to start otherwise due toReferenceError
5
2
u/DXTRBeta Aug 26 '26
Well that is just elegant -always fun to see what can be done if you really push the edge.
0
0
Sep 01 '26
[deleted]
1
u/Honest-Finish3596 Sep 01 '26
So is the point of setting up a robot to post comments in lowercase to eventually sell the account to advertisers?
1
14
u/Consistent_Drop3909 Aug 26 '26
PPCG would love this