Implement the minesweeper game