Open
Conversation
- 입력, 로또 게임 진행, 출력으로 구분하여 작성
- 유저의 구입 금액 입력 - 유저의 당첨 번호 입력 - 유저의 보너스 번호 입력
- 로또 구입 금액이 소수인 경우 추가
- 로또 구입 금액이 숫자가 아닌 값이 입력된 경우 - 로또 구입 금액에 소수가 입력된 경우.
- 구입금액, 로또 번호, 보너스 번호로 구분지어 정리
- LottoGameController : 로또 게임 프로세스 진행 - LottoGameView : 로또 게임의 입출력 담당 - LottoGameService : 로또 게임의 기능 및 속성 관리 - App : 컨트롤러 생성 및 로또 게임 실행
- getUniqueRandomNumbers : 설정한 범위 내 무작위 숫자를 중복 없이 설정한 개수 만큼 생성 - getRandomNumber : 설정한 범위 내 무작위 숫자를 생성
- lotto : 로또 부모 클래스, 로또 숫자들과 로또 개수의 예외를 확인 - IssuedLotto : 발행된 로또, 사용자의 구매에 따라 생성된 로또 - AnswerLotto : 사용자의 입력에 따라 정해진 정답 로또
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.