Skip to content
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

[2주차] 객체지향 코드연습 (Suehyun666) #31

Open
wants to merge 48 commits into
base: main
Choose a base branch
from

Commits on Sep 30, 2024

  1. lotto 클래스

    Suehyun666 committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    e6ecb6a View commit details
    Browse the repository at this point in the history
  2. 로또 진행 클래스

    Suehyun666 committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    e287377 View commit details
    Browse the repository at this point in the history
  3. 로또 생성 클래스

    Suehyun666 committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    41845b7 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2024

  1. result

    결과 출력
    Suehyun666 committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    69aba52 View commit details
    Browse the repository at this point in the history
  2. Create OutputHandler.java

    Suehyun666 committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    928bcc2 View commit details
    Browse the repository at this point in the history
  3. lotto generate

    Suehyun666 committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    87adba7 View commit details
    Browse the repository at this point in the history
  4. lotto

    Suehyun666 committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    26c32dd View commit details
    Browse the repository at this point in the history
  5. inputhandler

    Suehyun666 committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    355ebf0 View commit details
    Browse the repository at this point in the history
  6. Update LottoGame.java

    lottogame
    Suehyun666 committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    619aae4 View commit details
    Browse the repository at this point in the history
  7. inputhandler

    입력받는 역할만 수행하는 클래스를 만들었습니다.
    매직넘버를 상수로 변경하였습니다.
    Suehyun666 committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    7aaa590 View commit details
    Browse the repository at this point in the history
  8. 1.application

    변경사항 없습니다.
    Suehyun666 committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    77bae68 View commit details
    Browse the repository at this point in the history
  9. 2. inputhandler

    1. 입력받는 역할을 수행하는 클래스로 분리했습니다.
    2. 매직넘버를 상수로 변경했씁니다.
    3. 에러도 메소드로 처리했습니다.
    Suehyun666 committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    6049a3f View commit details
    Browse the repository at this point in the history
  10. 3. 로또 클래스

    로또 숫자를 저장하는 클래스입니다.
    Lotto클래스 내부에 다른 필드 삭제했습니다.
    Suehyun666 committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    a14bc17 View commit details
    Browse the repository at this point in the history
  11. 4. 결과계산

    로또 추첨 결과를 처리하는 클래스입니다.
    Suehyun666 committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    bff4f55 View commit details
    Browse the repository at this point in the history
  12. 5. 로또 생성기

    로또를 랜덤으로 생성하는 클래스입니다.
    1. streamapi이용하여 간단하게 했습니다.
    2. 매직넘버를 상수로 변환했씁니다.
    Suehyun666 committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    0d78f68 View commit details
    Browse the repository at this point in the history
  13. 6. 로또 게임

    전체적인 비즈니스 로직을 관리하는 클래스입니다.
    Suehyun666 committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    20eb9f3 View commit details
    Browse the repository at this point in the history
  14. 7. 출력 핸들러

     출력을 수행하는 클래스입니다.
    1. 상금을 상수로 변환했습니다.
    Suehyun666 committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    97b2cd3 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2024

  1. Configuration menu
    Copy the full SHA
    1a2ebfe View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. 1.1 application

    1. lottogmae에 의존성을 외부에서 주입하기위해서 여기서 생성했습니다.
    Suehyun666 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    1858311 View commit details
    Browse the repository at this point in the history
  2. 2.1 inputhandler

    constants이용해서 문자열 안보이게 했습니다.
    validator 클래스 만들어서 비즈니스 로직만 수행하도록 했습니다.
    Suehyun666 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    fde267e View commit details
    Browse the repository at this point in the history
  3. 2.2 inputconstants

    constants만들어서 상수처리했습니다.
    Suehyun666 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    f208822 View commit details
    Browse the repository at this point in the history
  4. 2.3 inputvalidator

    입력 시 오류를 처리하는 클래스입니다.
    Suehyun666 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    55be10e View commit details
    Browse the repository at this point in the history
  5. 3.1 로또 클래스

    로또 생성하는 클래스와 합쳤습니다.
    Suehyun666 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    a6c7390 View commit details
    Browse the repository at this point in the history
  6. 3.2 lottoconstants

    로또 상수처리 위해 constants만들었습니다.
    Suehyun666 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    a5440df View commit details
    Browse the repository at this point in the history
  7. 3.3 로또 구매 정보

    로또 구매 정보를 저장하는 클래스입니다.
    Suehyun666 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    bcb6e36 View commit details
    Browse the repository at this point in the history
  8. 4.1 결과계산

    결과계산 수행하는 클래스입니다.
    상수처리 위해 constants 만들었습니다
    매치카운트 정보를 저장하는 클래스도 만들었습니다.
    -11 for문 수정예정입니다..
    Suehyun666 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    e48a13c View commit details
    Browse the repository at this point in the history
  9. 4.2 결과계산 constants

    constants입니다. 관련있는 정보를 한데 묶었습니다.
    Suehyun666 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    3867749 View commit details
    Browse the repository at this point in the history
  10. 4.3 매치카운트 정보

    매치카운트를 저장하는 클래스입니다.
    Suehyun666 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    6de8f99 View commit details
    Browse the repository at this point in the history
  11. 7.1 출력 핸들러

    아직 손볼 곳이 있어서 constants를 만들지 않았습니다.
    상수처리, import, 관련있는 정보 모아서 가독성있게 만들었습니다.
    Suehyun666 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    771e99b View commit details
    Browse the repository at this point in the history
  12. 6.1 로또게임

    의존성을 외부에서 주입하고 주석없앴습니다.
    필드이용하지 않고 정보를 저장하는 클래스를 만들었습니다.
    -클래스이름을 좀 더 이해가기 쉽게 만들고 싶은데 추천부탁드립니다..
    Suehyun666 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    8382b15 View commit details
    Browse the repository at this point in the history
  13. 5.1 당첨번호 저장

    당첨번호를 저장하는 클래스입니다.
    Suehyun666 committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    64269f2 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    f018d51 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. 삭제할 내용

    패키지로 묶었습니다.
    Suehyun666 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    89a61c1 View commit details
    Browse the repository at this point in the history
  2. 1.1.1application

    어플리케이션입니다.
    generator도 생성했서 주입했습니다.
    Suehyun666 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    f7c2bbf View commit details
    Browse the repository at this point in the history
  3. 2.1 inputhandler

    바뀐 곳은 별로 없습니다.
    String input = console.realine이 반복돼서 줄일까 합니다.
    Suehyun666 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    3430382 View commit details
    Browse the repository at this point in the history
  4. 2.2.1 InputConstants

    에러의 상수까지 넣었습니다.
    Suehyun666 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    743cfc9 View commit details
    Browse the repository at this point in the history
  5. 2.3.1 InputValidator

    상수처리했습니다.
    Suehyun666 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    732acb0 View commit details
    Browse the repository at this point in the history
  6. 3.1.1 lotto

    생성하는 메서드는 다른 킅래스로 빼서 오직 값만 저장하도록 했습니다.
    Suehyun666 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    ec97241 View commit details
    Browse the repository at this point in the history
  7. 3.2.1 lottoconstants

    바뀐 곳은 없습니다.
    Suehyun666 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    2aa1c6f View commit details
    Browse the repository at this point in the history
  8. 3.3.1 purchaseinfo

    구매한 만큼의 로또를 저장하는 클래스입니다. lottogenerator를 통해 로또를 생성받아 값을 저장하는 역할을 수행합니다.
    Suehyun666 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    01e7fe1 View commit details
    Browse the repository at this point in the history
  9. 3.4.1 WinningInfo

    입력받은 로또의 정보를 저장하는 클래스입니다.
    Suehyun666 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    d2112f1 View commit details
    Browse the repository at this point in the history
  10. 4.1.1 resultcalculator

    결과를 연산하는 클래스입니다.
    상수처리했습니다.
    Suehyun666 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    c1af815 View commit details
    Browse the repository at this point in the history
  11. 4.2.1 resultconstants

    바뀐 곳은 별로 없습니다.
    상수를 담고있는 costants입니다.
    Suehyun666 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    96bbaf3 View commit details
    Browse the repository at this point in the history
  12. 5.0.1 lottogenerator

    로또를 구매한만큼 생성하는 클래스입니다.
    Suehyun666 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    4a63945 View commit details
    Browse the repository at this point in the history
  13. 7.1.1OutputHandler

    상수처리했고 달라진 곳은 별로 없습니다.
    Suehyun666 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    e764b62 View commit details
    Browse the repository at this point in the history
  14. 7.2.1 outputconstants

    constants입니다.
    Suehyun666 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    dfb20a1 View commit details
    Browse the repository at this point in the history
  15. 6.1.1 lottogame

    application에서 의존성을 주입받아 전체적인 게임의 로직을 관리합니다.
    Suehyun666 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    bea7598 View commit details
    Browse the repository at this point in the history
  16. 4.3.1MatchResult

    생성한 로또와 당첨번호가 일치하는 개수를 저장합니다.
    Suehyun666 committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    958f0a5 View commit details
    Browse the repository at this point in the history