Ruby minesweeper.