Closed waynenilsen closed 9 years ago
Looks great! Thank you! I will merge a little later.
This could better be implemented by the following:
This would stop the program from checking if a cell is a mine on every mine creation.
I think that is exactly what the improvement
commit does. Funny how you described the exact algorithm that I ended up using.
Oops didn't see that second commit. On Sep 3, 2015 8:25 AM, "waynenilsen" notifications@github.com wrote:
I think that is exactly what the improvement https://github.com/waynenilsen/minesweeper-rs/commit/8c7ff7f38ad00763a4b0725d0ca0aa6225337f11 commit does. Funny how you described the exact algorithm that I ended up using.
— Reply to this email directly or view it on GitHub https://github.com/Vinatorul/minesweeper-rs/pull/23#issuecomment-137484966 .
:+1: Merged!
If there was a high mine density before, there would not be that many mines on the board. This addresses this issue. I don't know how "fix" suits this commit but that is what I labeled it.