Skip to content
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

[step4] 자동차 경주(우승자) 리뷰 부탁드립니다 #2077

Merged
merged 3 commits into from Mar 15, 2021

Conversation

loop-study
Copy link

@loop-study loop-study commented Mar 15, 2021

안녕하세요 박현철입니다.

이전 피드백과 자동차 경주(우승자)에 추가된 요구사항 반영하여 진행했습니다.✅

  1. GrandPrix 에서 경주 진행을 처음 할당된 전략패턴을 그대로 이용하거나,
    새로운 전략패턴을 할당하여 진행할 수 있게 수정했습니다.
  2. 패키지로 UI, 도메인 등을 분류 했습니다.
  3. 유효성을 도메인에 맞게 추가했습니다.
  4. 기타 피드백을 반영했습니다.

부족한 점 있으면 피드백 부탁드리겠습니다!📖📖📖📖📖

* feat : 4단계 - 자동차 경주(우승자)

2021. 03. 15
자동차 경주(우승자)를 제출합니다.
1) 패키지로 UI, 도메인 분류
2) 자동차 참가회수 -> 자동차 이름으로 변경
3) 우승자 구분에 따른 기능 추가
4) 상수들을 상수 클래스로 관리
5) 기타 피드백 반영

Resolves : loop-study
See also : changgunyee
2021. 03. 15
자동차 이름으로 ",,,,," 입력 시
자동차 Size 없이 진행되어 유효성 추가합니다.

Resolves : loop-study
See also : changgunyee
2020. 03. 15
기존 3단계에서 추가된 4단계 구현 요소 추가함

Resolves : loop-study
See also : changgunyee
Copy link

@changgunyee changgunyee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

안녕하세요. 현철님 😄

요구사항 잘 구현해주셨습니다.
이전 미션에서 고생한만큼 구조가 잘 잡혀있어 이번 단계는 수월한 것 같군요. 👍

한 두 가지 정도 피드백드린 것만 다음 단계에서 반영해주세요~

이번 미션은 이만 머지하겠습니다.
아마 다음 단계도 쉽게 통과하실 수 있을 것 같습니다.
파이팅입니다. 🔥 👋

src/main/java/new_racingcar/domain/Cars.java Show resolved Hide resolved
private int roundCount;

public GrandPrix(List<String> names, int roundCount) {
isRoundCountVaild(roundCount);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

조금 욕심을 내자면 라운드 수를 관리하는 객체를 도입해보는 건 어떨까요?
그리고 isGameEnd, isRoundCountValid와 같은 함수를 해당 클래스에 넣는 것이지요. 👍

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

객체화 시키겠습니다!

src/main/java/new_racingcar/domain/Car.java Show resolved Hide resolved
@changgunyee changgunyee merged commit 83d927c into next-step:loop-study Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants