A ruby implementation of minesweeper