beuville / minesweepersolver

Automatically exported from code.google.com/p/minesweepersolver
0 stars 0 forks source link

Mine sweeper board generator performance improvement #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When a game board is created with n-1 mines where n is number of squares
significant lag occurs in generating a first move that does not hit a mine.

To fix: instead of generating the board prior to the first move, generated
after the first move has been selected, marking the location of the first
move to avoid placing a mine underneath it. 

Original issue reported on code.google.com by mike.a.s...@gmail.com on 18 Sep 2008 at 8:20

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Cris did it! he fixed it rel good like.

Original comment by mike.a.s...@gmail.com on 18 Sep 2008 at 9:07