1단계 미션 제출합니다 by shoeone96 · Pull Request #7 · Meet-Coder-Study/java-baseball · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
ebcea49
초기 세팅 및 절차지향 코드 작성
shoeone96 May 18, 2024
2db3fc7
request 전략패턴 도입
shoeone96 May 20, 2024
4161ba5
game client 전략패턴 도입
shoeone96 May 20, 2024
a5116fd
게임 메시지 분리
shoeone96 May 20, 2024
679a6ed
메인 게임 컨트롤러 분리
shoeone96 May 20, 2024
2d4c7cc
response 타입에 따라 선택 가능하게 만들기
shoeone96 May 20, 2024
fe48848
assertj 라이브러리 추가
shoeone96 May 20, 2024
af61d11
game client 의존성 추가
shoeone96 May 20, 2024
68970ce
game message 추가
shoeone96 May 20, 2024
4e331c2
random number를 list를 반환하는 로직 추가
shoeone96 May 20, 2024
f627a75
사람들의 요청을 commandline으로 받는 로직 작성
shoeone96 May 20, 2024
c869d02
game controller에 의존성 포함하는 로직 추가
shoeone96 May 20, 2024
b0ab5c9
random number 반환 테스트
shoeone96 May 20, 2024
a73df14
game box container 생성
shoeone96 May 20, 2024
c1942e8
game controller game box 기준 생성하게 리팩토링
shoeone96 May 20, 2024
f968b3d
BaseBall 전용 Exception 추가
shoeone96 May 24, 2024
d49dde0
game 시작을 위한 컨트롤러 인터페이스 작성
shoeone96 May 24, 2024
60ed1b8
BaseBall Game controller 작성
shoeone96 May 24, 2024
7cafd50
터미널로 숫자 받는 메서드 추가
shoeone96 May 24, 2024
862f008
게임에서 사용하는 메시지 추가
shoeone96 May 24, 2024
dfe5b5c
게임에서 사용되는 에러 메시지 분리 및 새로 추가
shoeone96 May 24, 2024
2ad845c
게임 컨트롤러 생성 후 작동 시키는 방식으로 Main 함수 변경
shoeone96 May 24, 2024
50768b5
client 인터페이스 작성
shoeone96 May 24, 2024
a54458a
baseball 게임 중 validation을 체크해줄 클래스 작성
shoeone96 May 24, 2024
13b8ee8
실제 게임이 동작하는 BaseBall GameClient 작성
shoeone96 May 24, 2024
7ec4783
strike, ball 계산기 작성
shoeone96 May 24, 2024
f3811df
ball strike count 후 반환하는 클래스 작성
shoeone96 May 24, 2024
1af621d
GameBox에서 BaseBall 전용으로 변경
shoeone96 May 24, 2024
53fcf02
게임 중 계속 random Number가 만들어지는 문제 해결
shoeone96 May 24, 2024
4bfe0f0
사용하지 않는 클래스 제거
shoeone96 May 24, 2024
a599c3a
게임 조건에 맞는 순서로 출력하게 변경
shoeone96 May 24, 2024
1c081e2
사용하지 않는 클래스 제거
shoeone96 May 24, 2024
9ea63a0
테스트 케이스 추가
shoeone96 May 24, 2024
3bb156b
테스트 케이스 추가
shoeone96 May 26, 2024
eb6257c
중복 메서드 삭제
shoeone96 May 26, 2024
b5180c9
스캐너는 새로 생성해서 종료하는 방식으로 이용
shoeone96 May 26, 2024
b3dae46
commandline 오류 해결 scanner 지속 생성으로 예외처리 시 무한 루프 현상 발생
shoeone96 May 26, 2024
962494a
input을 받지 못하는 테스트 삭제
shoeone96 May 26, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
178 changes: 178 additions & 0 deletions .gitignore
20 changes: 20 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
plugins {
id("java")
}

group = "org.example"
version = "1.0-SNAPSHOT"

repositories {
mavenCentral()
}

dependencies {
testImplementation(platform("org.junit:junit-bom:5.10.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("org.assertj:assertj-core:3.24.2")
}

tasks.test {
useJUnitPlatform()
}
Binary file added gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
6 changes: 6 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Loading