Rename Minesweeper type to Game and improved logic for flagging and revealing cells