Hacker News new | past | comments | ask | show | jobs | submit login

This analysis does not mention a implementation quirk for resolving hitting a mine on the first click. Shortly described: If the first cell clicked has a mine, move the mine to the first free cell starting from top left, and search row by row from left to right, top to bottom.

It did not trigger for the game in question, as there is no mine in the top left corner. However, in normal games, with all other things considered equal, top left corner would have a higher chance of having a mine than anywhere else.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: