Skip to content

[자동차 경주] 이아름 미션 제출합니다.#58

Open
souk0712 wants to merge 12 commits intowoowacourse-precourse:mainfrom
souk0712:souk0712
Open

[자동차 경주] 이아름 미션 제출합니다.#58
souk0712 wants to merge 12 commits intowoowacourse-precourse:mainfrom
souk0712:souk0712

Conversation

@souk0712
Copy link

No description provided.

Add error and message constants for input and output
- add class variables: name, position
- add name validation in init block
- add car move function
- add class variables: round, cars, raceResult
- add round validation in init block
- add race start function
- add round play function
- call car move function
- add class variables: progress, winners
- add round progress function
- add car position function
- add winners selection function
- add input round function
- add input car names function
@SuHwanYY
Copy link

기능 단위로 커밋이 세밀하게 분리되어 있고 도메인이 잘 분리되어 있는 것 같습니다.
start() 함수에서 랜덤 값을 입력받는 부분을 분리하면 함수가 한 가지 일만 수행하는 구조가 될 것 같습니다.
잘 보고 많이 배워갑니다 감사합니다!!

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.

2 participants