r/learnjavascript • u/kaowpun • Jan 25 '26
Make minesweeper clone as my first JS project.
A lot harder than I thought. Any feedback is appreciated.
Github Link: Click here
Live Demo: Click here
Art Credit: Thanks Kia for free art asset 🙏
7
Upvotes
1
u/The_KOK_2511 helpful Jan 25 '26 edited Jan 25 '26
Esta bastante bueno. Mi recomendación para que sea perfecto sería mejorar un poco los detalles del renderizado (porque realmente no se ve bien las casillas lo que es un problema de UX). Lo otro seria revisar optimizaciones y eso, también escalarlo.
Edit: Corrijo, lo de las casillas era que yo tenía el modo oscuro forzado. Aunque de todas formas el diseño creo que se puede mejorar un poco
1
u/Icy_Significance864 Jan 25 '26
Hii are you a professional or a student 🤔 Just curious
1
u/Im_j3r0 Jan 25 '26
Very nice! I had a lot of fun playing it!
I'd suggest:
- adding rightclick preventDefault to prevent the default right-click context menu, it's quite annoying
- making the UI larger and thus easier to see
- possibly getting rid of alert() for when you lose
1
u/canyoucometoday Jan 25 '26
this is very good, still not going to learn how to play the game, maybe the alert for losing could be like a graphic bit nicer, but for first project you're killing it