Open
Conversation
- 반환값을 boolean->void로 수정
- validateLength를 public->default로 변경
- countBall: 볼 개수 계산 - countStrike: 스트라이크 개수 계산 - judge: 결과 판정 후 GameResult 반환 - isGameOver를 GameResult로 이동 (자기 상태 판단 책임) - GameResult에 goal 필드 추가
- hasNoDuplicates에서 이름 변경 (validate 패턴 적용) - parseToNumbers에서 validateNoDuplicates 호출 추가 - docs: README 함수명 및 반환값 수정
- printResult: 게임 결과 출력 - printGameEnd: 게임 종료 메시지 출력 - GameResult.getGoal getter 추가 - docs: README에 printGameEnd 추가
- GameResult: goal 필드 제거, isGameOver(int) 매개변수 방식 변경 - BaseballGameJudge.judge() 호출 수정 - OutputView.printGameEnd(int) 매개변수 변경 - InputView 불필요한 import 제거 - docs: README 반영
- run: 게임 루프 및 재시작 처리 - playRound: 단일 라운드 진행 - handleRestart: 재시작 입력 처리
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.