-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[자동차 경주] 김민겸 미션 제출합니다. #2397
Open
Mingyum-Kim
wants to merge
16
commits into
woowacourse-precourse:main
Choose a base branch
from
Mingyum-Kim:Mingyum-Kim-test
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[자동차 경주] 김민겸 미션 제출합니다. #2397
Mingyum-Kim
wants to merge
16
commits into
woowacourse-precourse:main
from
Mingyum-Kim:Mingyum-Kim-test
Conversation
This file contains 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
Mingyum-Kim
commented
Dec 15, 2023
Comment on lines
+18
to
+19
Cars cars = new Cars(inputView.readCarNames()); | ||
int count = inputView.readTryCount(); |
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.
retry를 사용하고 싶을 때는, 아래와 같이 사용한다.
Suggested change
Cars cars = new Cars(inputView.readCarNames()); | |
int count = inputView.readTryCount(); | |
Cars cars = retry(inputView::readCarNames); | |
int count = retry(inputView::readTryCount); |
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.
💪 프로젝트 개요
자동차 경주 게임을 구현한다.
자동차의 이름과 전진을 시도할 횟수를 입력받고, 자동차를 전진시킨 후 우승자를 선정한다.
📝 구현 기능 목록
자동차 이름을 입력하는 기능
경주할 자동차 이름을 입력하세요.(이름은 쉼표(,) 기준으로 구분)
를 출력한다.시도할 횟수를 입력하는 기능
시도할 회수는 몇회인가요?
를 출력한다.자동차를 전진하는 기능
자동차의 상태를 출력하는 기능
-
로 출력한다.우승자를 출력하는 기능
최종 우승자 : pobi
와 같이 우승자를 출력한다.