Skip to content
Open

Sunho #166

Show file tree
Hide file tree
Changes from all commits
Commits
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
38 changes: 12 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,12 @@
## [NEXTSTEP 플레이그라운드의 미션 진행 과정](https://github.com/next-step/nextstep-docs/blob/master/playground/README.md)

---
## 학습 효과를 높이기 위해 추천하는 미션 진행 방법

---
1. 피드백 강의 전까지 미션 진행
> 피드백 강의 전까지 혼자 힘으로 미션 진행. 미션을 진행하면서 하나의 작업이 끝날 때 마다 add, commit
> 예를 들어 다음 숫자 야구 게임의 경우 0, 1, 2단계까지 구현을 완료한 후 push

![mission baseball](https://raw.githubusercontent.com/next-step/nextstep-docs/master/playground/images/mission_baseball.png)

---
2. 피드백 앞 단계까지 미션 구현을 완료한 후 피드백 강의를 학습한다.

---
3. Git 브랜치를 master 또는 main으로 변경한 후 피드백을 반영하기 위한 새로운 브랜치를 생성한 후 처음부터 다시 미션 구현을 도전한다.

```
git branch -a // 모든 로컬 브랜치 확인
git checkout master // 기본 브랜치가 master인 경우
git checkout main // 기본 브랜치가 main인 경우

git checkout -b 브랜치이름
ex) git checkout -b apply-feedback
```
## 프로젝트 명
### 숫자 야구 게임 :baseball:
#### 컴퓨터가 낸 1 ~ 9 사이 숫자중 서로다른 세자리 수를 맞추는 게임입니다.

## 게임 설명
#### 1. 사용자가 3자리 숫자를 입력합니다.
#### 2. 컴퓨터가 입력한 숫자에 대해 결과를 제공합니다.
스트라이크 : 자리와 숫자가 동일한 경우
볼 : 숫자는 맞지만 자리가 다른경우
낫싱 : 맞는 숫자가 없는 경우

#### 3. 사용자가 3자리 숫자를 맞추면 게임이 종료되고, 다시 시작하거나 종료할수있습니다.
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
257 changes: 153 additions & 104 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions src/main/java/MainClass.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import baseballgame.BaseballgameController;

public class MainClass {

public static void main(String[] args) {
BaseballgameController bg = new BaseballgameController();
bg.baseballStart();
}
}
Loading