mprogramming·Programmingbymonica_b1998 Minesweeper game in 100 lines of pure JavaScripthttps://slicker.me/javascript/mine/minesweeper.htmOpen linkView original on lemmy.world34Comments5Reply
LLudicrous0251 piefed.zip"Coding this game in JavaScript is a lot of fun" Quote provided without comment.16Reply
Dave replylemmy.nz1Hide 1 replyCouldn't most people here could do it in one? The code is in the post and newlines can be removed like in minified javascript.2Reply
mmonica_b1998 replylemmy.worldtechnically 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 solution8Reply
5 replies
"Coding this game in JavaScript is a lot of fun"
Quote provided without comment.
Nice, the code is very clear !
thanks for the compliment!
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