Hacker News new | ask | show | jobs
by nicholaides 3387 days ago
You would think that if you clicked a bomb first, the app would regenerate the board until it made one where the place you clicked was not a bomb.
1 comments

Some games do this, some don't some only actually generate the field once you click the first box.
The behaviour towards the user is the same, though: The first click never results in a bomb. Everything else is an implementation detail, although not placing bombs until after the first click is probably the easiest approach to ensure it.