Untested, but some minesweeper utilities