Minesweeper game in 100 lines of pure JavaScript (slicker.me)
from monica_b1998@lemmy.world to programming@programming.dev on 23 Dec 2025 05:35
https://lemmy.world/post/40584277

#programming

threaded - newest

allo@sh.itjust.works on 23 Dec 2025 05:59 next collapse

and no one here could do it in 1000

bloubz@lemmygrad.ml on 23 Dec 2025 06:46 next collapse

Sure, value code minimal length, this is an exceletent idea. Just as much as Musk firing twitter devs who wrote fewer lines

Dave@lemmy.nz on 23 Dec 2025 06:59 collapse

Couldn’t most people here could do it in one? The code is in the post and newlines can be removed like in minified javascript.

monica_b1998@lemmy.world on 23 Dec 2025 07:05 collapse

technically yes, although i use the “1 instruction per line” rule and give the number so that readers have a rough idea of the complexity of the solution

Ludicrous0251@piefed.zip on 23 Dec 2025 06:39 next collapse

“Coding this game in JavaScript is a lot of fun”

Quote provided without comment.

lascapi@jlai.lu on 23 Dec 2025 09:51 collapse

Nice, the code is very clear !

monica_b1998@lemmy.world on 23 Dec 2025 15:05 collapse

thanks for the compliment!