Skip to content

Conversation

@Yeonjae1234
Copy link

No description provided.

Yeonjae1234 and others added 17 commits October 26, 2025 17:32
기능 설계서, 프로그램 흐름도 작성
- AppConfig
- Car
- CarDTO
- CarList
- Controller
- Game
- GameService
- OutputPort
- Validator
- View
- Car 클래스 정의
- Car.toString() Override
- CarList 클래스 정의
- CarList.toString() Override
- GameService.proceedRound 메소드 구현
- GameService.decideMoving 메소드 구현
- Game.checkRemainRound 메소드 구현
- Game.hasNextCar 메소드 구현
- Game.moveForward 메소드 구현
- CarList.moveForward 메소드 구현
- CarList.getCarNumber 메소드 구현
- Car.plusScore 메소드 구현
메소드 생성
- Car.createCarDTO
- CarList.printCurrentStatus
- Game.printCurrentStatus
- OutputPort.printRaceStatus
- View.printRaceStatus
- View.formatOutput

구조 수정
- GameService 에 OutputPort 필드 추가
- GameService.runGame 메소드 수정
- 이름이 비어있는 경우, 길이가 5 초과인 경우 Exception 발생
- 입력된 값이 음수인 경우 Exception 발생
- 난수 생성, 객체 중복 등의 원인으로 전체 테스트 실행 시 오류 발생
- 일단 이 상태로 마무리함.
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.

1 participant