Prototype code for a minesweeper game.