[자동차 경주] 최승욱 미션 제출합니다.#909
Open
seungwookc97 wants to merge 8 commits into
Open
Conversation
- Console.readLine()으로 레이싱 카 입력 받기 - 올바르지 않은 입력에 대해 에러 처리
- Console.readLine()으로 횟수 입력 받기 - 올바르지 않은 입력에 대해 예외 처리
- ValidateCount > 카멜 케이스로 리팩터링 - parseCount > IllegalArgumentException 리턴하여 일관성 유지
- Randoms.pickNumberInRange(0, 9) 사용하여 임의의 정수 생성 - 4이상인 경우에 대해서 전진하고 Map에 기록
- 각 라운드별 레이싱 결과 출력 기능 추가 - 최대 우동 거리 계싼 및 우승자 판별 로직 구현 - 우승자 출력시 String.join으로 쉼표 구분
- map -> racingMap 이름 수정 및 LinkedHashMap으로 수정하여 순서 보장 - 실행 결과 for문 앞으로 이동하여 한 번만 출력 - 메서드 명 및 변수 오타(addWinner, addIfWinner) 수정
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.