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

[자동차 경주 게임] 이준영 미션 제출합니다. #185

Closed
wants to merge 22 commits into from
Closed

[자동차 경주 게임] 이준영 미션 제출합니다. #185

wants to merge 22 commits into from

Commits on Dec 5, 2019

  1. docs : README.md 작성

    미션 요구사항, 개발 진행 계획 작성.
    구현해야 할 기능 목록 간단하게 작성.
    lxxjn0 committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    c470cfe View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2019

  1. docs : README.md 수정

    구현해야 할 기능 목록에 구현 방법과 예외 처리에 대한 간략한 설명 및 계획 추가.
    개발 진행 계획 추가.
    lxxjn0 committed Dec 6, 2019
    Configuration menu
    Copy the full SHA
    0781ecb View commit details
    Browse the repository at this point in the history
  2. feat : 사용자로부터 자동차의 이름들을 입력받는 기능 구현

    쉼표(,)의 앞, 뒤로 존재하는 공백을 제거하는 기능 구현.
    쉼표를 기준으로 한 구분, 이름의 길이, 이름의 형식에 대한 예외 처리.
    README.md에 개발 계획 추가, 구현 완료 기능 표시.
    lxxjn0 committed Dec 6, 2019
    Configuration menu
    Copy the full SHA
    bef191b View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2019

  1. feat : 사용자로부터 이동 횟수를 입력받는 기능 구현

    사용자의 입력이 정수가 아니거나 1 이상의 정수가 아닌지에 대한 유효성 검사 구현.
    receiveCarNames 메소드 접근 지정자 수정(테스트를 위해서 변경했던 것 수정).
    README.md에 구현 완료 기능 표시.
    lxxjn0 committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    11f4ad2 View commit details
    Browse the repository at this point in the history
  2. feat : 입력받은 자동차 이름들로 자동차 객체를 생성하는 기능 구현

    유효성 검증이 완료된 자동차 이름들로 Car 클래스 객체를 생성하여 List에 저장하는 기능 구현.
    lxxjn0 committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    55cedc2 View commit details
    Browse the repository at this point in the history
  3. feat : 0부터 9까지의 범위 내의 Random한 수를 생성하는 기능 구현

    Car 클래스에서 Random한 수를 생성하는 메소드 구현.
    README.md에 구현 완료 기능 표시.
    lxxjn0 committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    e759632 View commit details
    Browse the repository at this point in the history
  4. feat : 자동차가 앞으로 전진하는지 여부를 판단하는 기능 구현

    Random으로 생성된 수가 전진하는 조건에 만족하는지를 판단하는 메소드 구현.
    README.md에 구현 완료 기능 표시.
    lxxjn0 committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    a16c646 View commit details
    Browse the repository at this point in the history
  5. feat : 전진일 경우 자동차의 position을 이동시키는 기능

    전진일 경우 자동차의 position을 증가시키고, 만약 증가한 position의 값이 전체 자동차들 중 최대값이면
    maxPosition을 해당 값으로 초기화.
    README.md에 구현 완료 기능 표시.
    lxxjn0 committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    e122e74 View commit details
    Browse the repository at this point in the history
  6. feat : 자동차들의 이동이 끝난 후 실행 결과를 출력하는 기능 구현

    모든 자동차들의 이동이 끝난 후 실행 결과를 출력하는 메소드 구현, 자동차 인스턴스들이 저장되는 List 생성 추가.
    자동차들의 이동을 RacingGame 클래스에서 지시하기 위해 Car 클래스의 moveCarToForward 접근 지정자 수정, 출력을 위한 getter 추가.
    lxxjn0 committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    6049b89 View commit details
    Browse the repository at this point in the history
  7. feat : 입력받은 이동 횟수만큼 자동차 이동과 출력을 반복하는 기능 구현

    사용자로부터 입력받은 이동 횟수만큼 자동차 이동과 출력을 반복하는 기능 구현.
    README.md에 구현 완료 기능 표시.
    lxxjn0 committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    614a4fc View commit details
    Browse the repository at this point in the history
  8. feat : 경주에서 우승한 자동차(들)을 확인하는 기능 구현

    자동차들 중에서 가장 큰 위치의 값이 저장된 maxPosition과 동일한 위치에 있는 자동차 객체들을 찾는 기능 구현.
    Car 클래스의 static 변수 maxPosition의 getter 구현.
    README.md에 구현 완료 기능 표시.
    lxxjn0 committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    bdaa6fd View commit details
    Browse the repository at this point in the history
  9. feat : 경주에서 우승한 자동차들의 이름을 출력하는 기능 구현

    경주에서 우승한 자동차들의 List를 받아와 출력하는 기능 구현.
    README.md에 구현 완료 기능 표시.
    lxxjn0 committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    1156be2 View commit details
    Browse the repository at this point in the history
  10. feat : Main 클래스 구현

    게임 진행을 위한 Main 클래스, main 메소드 구현.
    lxxjn0 committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    4a68a60 View commit details
    Browse the repository at this point in the history
  11. docs : README.md 수정

    개발 진행 계획 내용(리펙토링) 추가.
    lxxjn0 committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    c4af3c1 View commit details
    Browse the repository at this point in the history
  12. refactor : 전체 코드 1차 리펙토링 완료

    RacingGame 클래스에서 일부 기능 추가 구현(자동차 이름의 중복이 존재하는 예외 처리, 모든 자동차들이 출발선에 존재하는 예외 처리).
    RacingGame 클래스의 일부 기능 수정(문자열을 자른 이후 앞, 뒤에 존재하는 불필요한 공백 제거 형식으로 수정,
    출력문은 문자열을 합친 후 출력으로 수정).
    기능을 좀 더 세분화하여 함수화 진행, 상수 사용되지 않은 부분 수정.
    lxxjn0 committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    1763083 View commit details
    Browse the repository at this point in the history
  13. docs : README.md 수정

    프로그램 실행 결과를 보기 쉽게 이미지로 추가.
    lxxjn0 committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    e638835 View commit details
    Browse the repository at this point in the history
  14. style : 1차 Code Convention 확인 및 2차 리펙토링 완료

    code convention (파일 구조, 들여쓰기, 주석, 선언, 복합문, 빈 공간) 확인.
    일부 주석 및 불필요한 상수, 변수 등 삭제.
    README.md에 개발 진행 계획 추가.
    lxxjn0 committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    129a4b2 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2019

  1. style : 2차 Code Convention 확인

    code convention (명명 규칙, 좋은 프로그래밍 습관) 확인.
    이름만 보고 메소드나 클래스, 변수가 하는 일을 알 수 있도록 상세하게 명명 수정.
    README.md에 개발 진행 계획 수정, markdown code formmat 적용.
    lxxjn0 committed Dec 9, 2019
    Configuration menu
    Copy the full SHA
    bf6167c View commit details
    Browse the repository at this point in the history
  2. style : 3차 Code Convention 확인

    Campus Hackday Java Code Convention의 naver code format 적용.
    lxxjn0 committed Dec 9, 2019
    Configuration menu
    Copy the full SHA
    32c99f9 View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2019

  1. style : 4차 Code Convention 확인

    1차 프리코스 피드백 위주로 다시 확인.
    lxxjn0 committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    708b351 View commit details
    Browse the repository at this point in the history
  2. refactor : 3차 리펙토링 완료

    클래스 분리를 위한 작업 진행.
    사용자로부터 받는 입력과 관련된 기능들을 가지는 User 클래스 추가(분리).
    User 클래스 추가에 따라 RacingGame 클래스에서 메소드와 불필요한 부분 수정.
    README.md에 개발 진행 계획 추가.
    lxxjn0 committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    c92a95e View commit details
    Browse the repository at this point in the history
  3. refactor : 4차 간단한 리펙토링 및 README.md 수정

    return에 대한 주석 누락부분 추가.
    User 클래스 인스턴스를 RacingGame 클래스의 인스턴스 변수로 선언.
    README.md 정리.
    lxxjn0 committed Dec 10, 2019
    Configuration menu
    Copy the full SHA
    b2111b5 View commit details
    Browse the repository at this point in the history