A minesweeper solver and generator that can guarantee a no-guess game.