monica_b1998@lemmy.world to Programming@programming.dev · 2 days agoMinesweeper game in 100 lines of pure JavaScriptslicker.meexternal-linkmessage-square6linkfedilinkarrow-up139arrow-down14
arrow-up135arrow-down1external-linkMinesweeper game in 100 lines of pure JavaScriptslicker.memonica_b1998@lemmy.world to Programming@programming.dev · 2 days agomessage-square6linkfedilink
minus-squareDave@lemmy.nzlinkfedilinkarrow-up3·2 days agoCouldn’t most people here could do it in one? The code is in the post and newlines can be removed like in minified javascript.
minus-squaremonica_b1998@lemmy.worldOPlinkfedilinkarrow-up7·2 days agotechnically 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
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.
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