nickarocho / minesweeper

The classic game with the classic look (Client-side Game) | HTML, CSS, JavaScript, recursion
https://nickarocho.github.io/minesweeper/
63 stars 27 forks source link

Mine can be hit on the first click #2

Open vtdmhd opened 2 years ago

vtdmhd commented 2 years ago

Original Minesweeper doesn't allow this and relocates the mine if it is hit with the first click in a new game.

nickarocho commented 2 years ago

Thanks for bringing this to my attention! Definitely an oversight on my part. What luck though :) I'll work on fixing this in the next version 😅