We're developing a Minesweeper game. Currently the board is generated randomly and so a large percentage of the games, especially on larger grids, require guessing, i.e. there will be multiple solutions that correspond to some given state of the board, and the players don't like that too much. Is there a good algorithm to use to generate a Minesweeper board that do not require guessing?
The initial board has all cell hiddens, and we made sure the first move is never a bomb. The board generator is triggered only after the first move.