-
Notifications
You must be signed in to change notification settings - Fork 191
[로또] 권오웅 미션 제출합니다. #163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ohwoong12
wants to merge
91
commits into
woowacourse-precourse:main
Choose a base branch
from
ohwoong12:ohwoong12
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[로또] 권오웅 미션 제출합니다. #163
Conversation
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
초기 기능 구현 목록과 예외 처리 목록을 작성했습니다
고정적으로 쓰이는 문자열을 모아놓은 파일 생성
사용자에게 값을 입력받는 함수들을 위한 파일 생성
당첨 번호를 입력받고 입력받은 문자열을 배열로 변환 문자열 배열로 변환한 후 계산 편의성을 위하여 숫자형 배열로 변환
별도의 함수로 로또 생성의 기능만 전담
로또 번호를 특정 형식으로 출력하는 메서드 구현
당첨 번호와 보너스 번호를 매개변수로 받아 최종 등수를 반환합니다.
Lotto.js에 구현된 Lotto 클래스를 App.js에서 사용하여 다음 기능들을 구현함 - 사용자가 구매한 로또 번호 목록을 화면에 출력
발행한 로또 수량 및 번호를 출력한다 오른차순으로 정렬하여 출력한다 두 기능 구현 완료로 체크박스 수정
테스트 함수 목록 업데이트
당첨 통계 문자열을 추가했습니다.
예외 처리 목록 수정 및 추가
공통 예외 처리 항목 체크박스 업데이트
로또 구매 금액 예외 처리 항목 체크박스 업데이트
당첨 번호 예외 처리 항목 체크박스 업데이트
보너스 번호 예외 처리 항목 체크박스 업데이트
생성한 테스트 함수 목록 업데이트
App.js는 시작만 담당하고, 자세한 진행은 LottoController가 담당하도록 개편
기존에 MVC 패턴 적용으로 인해 작동하지 않던 코드 변경
폴더 구조와 어려웠던 점 추가
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.