An approximation algorithm for solving Minesweeper.