-
Notifications
You must be signed in to change notification settings - Fork 116
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
[자동차 경주] 이아름 미션 제출합니다. #114
Open
souk0712
wants to merge
14
commits into
woowacourse-precourse:main
Choose a base branch
from
souk0712:souk0712
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
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
- 이름과 진행상태를 변수로 가진 Car class 정의
- 이름의 제약사항 추가
- 무작위 숫자를 반환하는 함수 - 이동시, 진행상태를 업데이트하는 함수 - 조건에 맞춰 이동하는 함수
- 시도 횟수와 경주할 자동차를 변수로 갖는 클래스 정의
- 시도 횟수의 제약사항 추가
- 경주를 실행하고 모든 경기 현황을 반환하는 함수 - 시도 횟수 만큼 자동차를 움직이는 함수
- 빈 이름이 있지 않게 제약사항 추가 - 메시지 문구 변경
- 경주를 실행하고 승리자를 받아옴 - 경주 결과 출력 함수
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.