Open
Conversation
- Car 클래스의 기본 구조 정의 - App 클래스에서 자동차 이름 유효성 검사 기능 구현 - Console을 이용한 사용자 입력 처리 준비
- MissionUtils 모듈 추가 import - 라운드 설정 기능 추가 (setRound 메서드) - 자동차 이동 로직 구현 (moveCars 메서드) - 생성자에 rounds 초기화 추가 - run 메서드에서 라운드 입력 받는 기능 추가 - setCars 메서드에서 Car 객체 생성 로직 변경 BREAKING CHANGE: Car 클래스 제거
- setCars 메서드에 자동차 이름 유효성 검사 추가 - setRound 메서드 구현 및 라운드 수 유효성 검사 추가 - moveCars 메서드 구현으로 자동차 이동 로직 개선 - printCarPositions 메서드 추가로 경주 상황 출력 기능 구현 - startRace 메서드 구현으로 전체 경주 프로세스 관리 - announceWinner 메서드 개선으로 최종 우승자 선정 및 출력 기능 구현 - run 메서드에 setRound 호출 추가로 게임 실행 흐름 완성 BREAKING CHANGE: Car 클래스 제거 및 cars 배열 구조 변경
- 에러 메시지에 [ERROR] 접두사 추가 - 최종 우승자 출력 형식 변경 (쉼표로 구분) - 사용자 입력 안내 메시지 상세화
- App 클래스의 생성자 제거 - startRace() 메서드 호출을 setRound()에서 run() 메서드로 이동
This file contains hidden or 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
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.