a simple terminal minesweeper game in Ruby