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

[체스 - 3, 4단계] 아토(이혜린) 미션 제출합니다. #24

Open
wants to merge 36 commits into
base: hyxrxn
Choose a base branch
from

Commits on Mar 25, 2024

  1. [체스 - 1, 2단계] 아토(이혜린) 미션 제출합니다. (woowacourse#706)

    * docs: 기능 요구 사항 정리
    
    * feat(King): 검정 팀 여부 확인
    
    Co-authored-by: leegwichan <[email protected]>
    
    * docs: '팀 결정 여부 확인' 문서에 반영
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(Position): 각 위치 구분
    
    - 가로 위치와 세로 위치 저장
    - 가로 위치와 세로 위치가 같으면, 같은 객체로 판단
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(Board): 해당 위치의 말 확인
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(BoardFactory): 체스 말 위치 초기화
    
    Co-authored-by: leegwichan <[email protected]>
    
    * refactor(domain): 패키지 분리
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(ChessGame): 초기 체스 보드 출력
    
    - 대문자는 검정말, 소문자는 흰말로 출력
    
    Co-authored-by: leegwichan <[email protected]>
    
    * refactor(OutputView): 메서드 분리
    
    Co-authored-by: leegwichan <[email protected]>
    
    * refactor(ChessGame): 메서드 분리
    
    Co-authored-by: leegwichan <[email protected]>
    
    * style(OutputView): 불필요한 공백 제거
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(InputView): 커멘드 입력
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(ChessGame): 종료 커멘드 반영
    
    Co-authored-by: leegwichan <[email protected]>
    
    * style(Team): 개행 추가
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(Row): 남북 이동
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(Column): 동서 이동
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(Position): 다음 위치 확인
    
    Co-authored-by: leegwichan <[email protected]>
    
    * refactor(Rank, File): 클래스명 변경
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(MovementRule): 연속적인 움직임
    
    - 이동 가능 여부 판단
    - 해당 경로 파악
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(KnightMovement): 나이트 움직임
    
    - 이동 가능 여부 판단
    - 해당 경로 파악
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(KingMovement): 킹 움직임
    
    - 이동 가능 여부 판단
    - 해당 경로 파악
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(Piece): 각 기물별 가능한 경로 파악
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(Board): 시작 위치의 말을 도착 위치로 이동
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(ChessGame): 이동 커멘드 반영
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(PawnDefaultMovement): 폰 기본 움직임
    
    - 이동 가능 여부 판단
    - 해당 경로 파악
    
    Co-authored-by: leegwichan <[email protected]>
    
    * fix(Rook): 남쪽으로 이동할 수 있도록 수정
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(PawnFirstMovement): 폰 처음 움직임
    
    - 이동 가능 여부 판단
    - 해당 경로 파악
    
    Co-authored-by: leegwichan <[email protected]>
    
    * style: 컨벤션에 맞추어 공백 추가
    
    Co-authored-by: leegwichan <[email protected]>
    
    * style(KingTest): 불필요한 구문 제거
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(Pawn): 가능한 경로 파악
    
    Co-authored-by: leegwichan <[email protected]>
    
    * refactor(Piece): stream을 이용하여 가독성 개선
    
    Co-authored-by: leegwichan <[email protected]>
    
    * refactor(ContinuousMovementRule): 패키지 분리
    
    Co-authored-by: leegwichan <[email protected]>
    
    * refactor(PieceTest): 팀 확인 테스트 이동
    
    Co-authored-by: leegwichan <[email protected]>
    
    * style(Piece): 불필요한 구문 제거
    
    Co-authored-by: leegwichan <[email protected]>
    
    * test(Piece): 가능한 경로 파악
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(Piece): 에러 메시지 추가
    
    Co-authored-by: leegwichan <[email protected]>
    
    * test(Position): 파일과 랭크 차이 계산
    
    Co-authored-by: leegwichan <[email protected]>
    
    * refactor(ChessGame): 메서드 분리
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(ChessApplication): 사용자에게 에러메시지 출력 후 종료
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(DiscreteMovementRule): 공통 로직 추상 클래스로 분리
    
    Co-authored-by: leegwichan <[email protected]>
    
    * style(ContinuousMovementRule): 불필요한 개행 제거
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(DiscreteMovementRule): 에러 메시지 추가
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(PawnFirstMovement): 잘못된 파라미터 입력 시 에러 발생
    
    Co-authored-by: leegwichan <[email protected]>
    
    * refactor: 가독성을 위해 상수 추출
    
    Co-authored-by: leegwichan <[email protected]>
    
    * refactor(GameCommand): 불필요한 메서드 삭제
    
    Co-authored-by: leegwichan <[email protected]>
    
    * feat(BoardFactory): 객체 생성을 막기 위해 생성자 추가
    
    Co-authored-by: leegwichan <[email protected]>
    
    * refactor(NorthWestMovementTest): 불필요한 접근제어자 제거
    
    Co-authored-by: leegwichan <[email protected]>
    
    * style: 불필요한 개행 삭제
    
    Co-authored-by: leegwichan <[email protected]>
    
    * refactor: 디미터 규칙 준수
    
    Co-authored-by: leegwichan <[email protected]>
    
    * style: 가독성을 위해 개행 추가
    
    Co-authored-by: leegwichan <[email protected]>
    
    * refactor(Position): 불필요한 메서드 삭제
    
    Co-authored-by: leegwichan <[email protected]>
    
    * docs: 개선 필요 사항 분리
    
    Co-authored-by: leegwichan <[email protected]>
    
    * style(Position): 가독성을 위해 this 추가
    
    Co-authored-by: leegwichan <[email protected]>
    
    * refactor(BoardFactory): 메서드명 변경
    
    * refactor(PieceDto): 클래스로 변경
    
    - 주 생성자를 private으로 변경
    
    * feat(BoardDto): 체스 보드 출력을 위한 Dto 생성
    
    - OutputView에서 null 사용 제거
    - ChessGame의 역할 분리
    
    * feat(Board): 팀 규칙 추가
    
    - 흰 말부터 차례로 이동
    - 같은 팀 말이 있는 위치로 이동 불가
    
    * refactor(MovementRule): 상속되지 않을 클래스에 final 추가
    
    * refactor(Position): 파라미터 변수명 변경
    
    * docs: 기능 요구 사항 추가
    
    * feat(MovementRule): 적 여부 파라미터에 추가
    
    - 폰 이동 시 적 여부 판단해서 이동 가능 여부 반환
    - 폰 대각선 이동 방법 추가
    
    * feat(MovementRule): 도착 위치는 이동 경로에 포함되지 않도록 변경
    
    - 이동 경로란 출발 위치에서 도착 위치까지 갈 때 거쳐가는 칸들
    - 출발 위치에서 시작해 이동 경로를 지나 도착 위치에 도달
    - 출발 위치에서 도착 위치 사이에 거쳐가는 칸이 없는 경우 빈 리스트 반환
    
    * feat(ChessGame): 잘못된 입력 시 오류 메시지 출력 후 재입력
    
    * style(ChessGame): 컨벤션에 맞춰 공백 추가
    
    * refactor(File): 오타 수정
    
    * refactor(Board): 메서드 간략화
    
    ---------
    
    Co-authored-by: leegwichan <[email protected]>
    hyxrxn and leegwichan authored Mar 25, 2024
    Configuration menu
    Copy the full SHA
    977d9e4 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2024

  1. Configuration menu
    Copy the full SHA
    c3bb337 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    643c556 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5a15ab0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    023804a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    44a9ffc View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2024

  1. Configuration menu
    Copy the full SHA
    dff28c7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9eabc7b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2ba0d88 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    255cbb5 View commit details
    Browse the repository at this point in the history
  5. test(Team): 다음 팀 확인

    hyxrxn committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    05a3547 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2024

  1. Configuration menu
    Copy the full SHA
    724c9ef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    46f55fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    69aca9d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6edbedd View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0b14727 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b9b36cb View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c198908 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6017958 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    53e2cd6 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b748637 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    16a3341 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    dfeb489 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    38e8cad View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2024

  1. Configuration menu
    Copy the full SHA
    e493812 View commit details
    Browse the repository at this point in the history
  2. docs: 실행 방법 추가

    hyxrxn committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    499e57b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    43dbfde View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    69a4af0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    da26f30 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2940490 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    426d51d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    85ad50b View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. Configuration menu
    Copy the full SHA
    f70c091 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ec85ee9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ed1a5ba View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2944796 View commit details
    Browse the repository at this point in the history