add reset functionality and check to stop the game when you click over a mine