-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[자동차 경주 게임] 김민수 미션 제출합니다. #211
base: main
Are you sure you want to change the base?
Conversation
…tRaceWinners 기본 코드 작성
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
안녕하세요! 코드 리뷰 남기고 갑니다! 감사합니다.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alstn113 님! 코드 잘 읽고 가요
Exception을 다시 분류해서 작성하신 모습을 보면서 예외를 더 깔끔하게 작성할 수 있는 방법을 알아갈 수 있었어요! 테스트 코드에서도 nested,, 저도 다음 미션 때 참고하겠습니다
2주 차 미션 고생 많으셨어요:)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2주차도 고생하셨습니다.
전체적으로 코드가 깔끔하고 많이 배워가네요 ㅎㅎ 클래스 활용과 exception 처리 부분은 다음 미션때 활용해봐야 겠습니다 !!
저도 리뷰 부탁드릴게요 ! #1170
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
코드 잘 봤습니다.
전체적으로 많은 고민을 하셨다는게 느껴지네요.
특히 getter를 지양한 점과 Randoms를 사용할 때 인터페이스를 구현하는 방법이 인상 깊었습니다.
궁금한점은 View의 메서드들을 Static으로 선언하면 인스턴스화 할 필요 없이 컨트롤러에서 사용할 수 있어 Static으로 저는 사용했었는데, 민수님은 어떤 방법이 더 좋다고 생각하시는지 궁금합니다.
@TaeHye0n |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
구조도 좋고, 인터페이스 사용하신 부분도 좋아요. 그리고 구조를 많이 나눈 것에 비해 코드가 읽기 어렵지 않았어요. 전반적으로 좋아보여요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
고생하셨습니다😆
자동차 클래스 및 자동차 목록 생성
무작위 값으로 전진 여부 판단
이동 횟수 입력 및 실행
우승자 결정
예외 처리
IllegalArgumentException
발생 및 처리Domain
View
Controller
Exception