Open
Conversation
…고 getter, setter 사용, 시도 횟수 정수값 입력 검증,
glucosei
reviewed
Apr 8, 2025
glucosei
left a comment
There was a problem hiding this comment.
전부 왜 그렇게 했는지 이해가 되어서 어떻게 피드백을 해야할지 모르겠네요... 제 식견으로는 고칠 거리가 안 보입니다! 수고하셨어요!
dp44rk
reviewed
Apr 8, 2025
dp44rk
left a comment
There was a problem hiding this comment.
역시 InputView 를 따로 나누신부분 인상깊게 보았습니다.
접근제어자나 키워드들도 적절하게 잘 사용하신것 같습니다
There was a problem hiding this comment.
subject에 명시되어있는 대로 camp.nextstep.edu.missionutils의 메소드들을 사용하는것이 좋을것 같습니다
ces0135-hub
reviewed
Apr 8, 2025
This was
unlinked from
issues
May 19, 2025
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.
name,distance를 public에서 private으로 바꾸고 getter, setter 정의해서 사용했습니다tryMove(ranNum)로 랜덤값을 인자로 넣었지만tryMove()로Car객체 내에서 랜덤값 뽑아서 움직입니다cars동적 배열,maxDistance도 private으로 바꿨습니다trim()으로 문자열 앞뒤 공백을 제거합니다 (공백 제거 후 이름 길이 검증)RaceResult로 따로 뺐습니다printWinners메소드에서 최종 우승자를 출력합니다printCarPosition메소드에서 자동차 객체 하나의name과distance를 사용해 해당 자동차의 위치를 출력합니다