Skip to content

Conversation

@Thornappl2
Copy link

No description provided.

Thornappl2 and others added 22 commits May 27, 2024 17:09
기능 목록 추가
- 자동차가 전진하는 기능인 move 함수 구현
- 0에서 9사이의 랜덤 값 생성하는 randomNum 추가
Feat: 자동차 전진 기능 추가
- 레이스를 관리하며 자동차 객체를 포함하고 레이스의 진행을 제어하는 클래스 생성
Feat: Race 클래스 생성
- 사용자에게 입력을 받는 InputView 작성
- 사용자에게 결과를 출력해주는 OutputView 클래스 작성
- printRace, printWinners 함수 추가
- 사용자의 입력을 받아 모델을 업데이트하고, 결과를 뷰에 전달하는 RaceController 클래스 작성
- 기능 미구현
- main 문이 있는 Application 클래스 작성
- getWinners 함수 추가
- race 함수 추가
- race 생성자 변경
- move 함수 수정
- run 함수 기능 구현
- 사용자에게 레이스 과정과 최종 우승자 출력 기능
- canMove 함수 추가, 기능 분리
- random 로직 수정
- 1자 이상 5자 이하로 입력받도록 설정
- 사용하지 않는 변수 및 함수 삭제
- Car 클래스에 대한 junit 단위 테스트를 진행하는 CarTest.java 구현
- Race 클래스에 대한 junit 단위 테스트를 진행하는 RaceTest.java 구현
- 빈칸 및 실행 결과를 출력하는 printOutput 함수 추가
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