Minesweeper game in Ruby