Day6 Pull Request for Code Review

you can place the method `resetGame()` outside the if-else condition.