Skip to content

Commit dd750e5

Browse files
committed
refactor: for -> stream
1 parent fb5223d commit dd750e5

18 files changed

Lines changed: 714 additions & 0 deletions

8week/racingcar/.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
.DS_Store
2+
.gradle
3+
/build/
4+
!gradle/wrapper/gradle-wrapper.jar
5+
/out/
6+
/target/
7+
8+
### STS ###
9+
.apt_generated
10+
.classpath
11+
.factorypath
12+
.project
13+
.settings
14+
.springBeans
15+
bin/
16+
17+
### IntelliJ IDEA ###
18+
.idea
19+
*.iws
20+
*.iml
21+
*.ipr

8week/racingcar/build.gradle

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
plugins {
2+
id 'java'
3+
}
4+
5+
group 'org.example'
6+
version '1.0-SNAPSHOT'
7+
8+
repositories {
9+
mavenCentral()
10+
}
11+
12+
dependencies {
13+
testCompile group: 'junit', name: 'junit', version: '4.12'
14+
}

8week/racingcar/document/README.md

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# RacingCar 기능정리
2+
3+
---
4+
## Domain
5+
6+
### Car
7+
* 아는 것
8+
* 차의 이름
9+
* 차의 위치
10+
* 랜덤 범위
11+
* 하는 것
12+
* 차 이동
13+
* 이름 검증 (공백, 길이)
14+
15+
### Cars
16+
* 아는 것
17+
* 복수의 차
18+
* 하는 것
19+
* 차 전체 이동
20+
* 가장 멀리간 차의 위치 찾기
21+
* 우승자 찾기
22+
* 차 이름 중복 검증
23+
24+
### Number
25+
* 아는 것
26+
* 숫자 값
27+
* 하는 것
28+
* 변수형 검
29+
30+
---
31+
32+
## Service
33+
34+
### RacingCarGame
35+
* 아는 것
36+
* 하는 것
37+
* 게임 시작
38+
39+
### RacingCarGameController
40+
* 아는 것
41+
* 하는 것
42+
* 차 생성
43+
* count 생성
44+
* 경주 실행
45+
46+
---
47+
48+
## Utils
49+
50+
### Input
51+
* 아는 것
52+
* 하는 것
53+
* 숫자 입력
54+
* 문자 입력
55+
56+
### RandomUtils
57+
* 아는 것
58+
* 랜덤 라이브러리
59+
* 하는 것
60+
* 범위 내의 랜덤값 생
61+
62+
63+
### View
64+
* 아는 것
65+
* 하는 것
66+
* 거리 출력
67+
* 차 이름 출력
68+
* 우승자 출력
69+
70+
71+
72+
보장된 숫자 입력
73+
74+
보장된 문자 입력
75+
76+
보장된 숫자가 아닐 시 에러가 발생한다.
77+
78+
자동차 이름 중복 제거
79+
80+
자동차 이름의 길이가 5이하 보장
81+
82+
범위내의 랜덤값 생성 보장
83+
84+
String 입력을 각 항목별 분리
57.5 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.3-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

8week/racingcar/gradlew

Lines changed: 185 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)