diff --git a/src/daeyoung/Main.java b/src/daeyoung/Main.java
new file mode 100644
index 0000000..9983b50
--- /dev/null
+++ b/src/daeyoung/Main.java
@@ -0,0 +1,10 @@
+import base.Case1;
+
+public class Main {
+ public static void main(String[] args) {
+ Case1 case1 = new Case1();
+
+ case1.gameStart(3);
+
+ }
+}
\ No newline at end of file
diff --git a/src/daeyoung/src/Main.java b/src/daeyoung/src/Main.java
new file mode 100644
index 0000000..60c8159
--- /dev/null
+++ b/src/daeyoung/src/Main.java
@@ -0,0 +1,12 @@
+import base.Case1;
+
+// Press Shift twice to open the Search Everywhere dialog and type `show whitespaces`,
+// then press Enter. You can now see whitespace characters in your code.
+public class Main {
+ public static void main(String[] args) {
+ Case1 main = new Case1();
+ main.gameStart(6);
+
+
+ }
+}
\ No newline at end of file
diff --git a/src/daeyoung/src/base/Case1.java b/src/daeyoung/src/base/Case1.java
new file mode 100644
index 0000000..cd463b7
--- /dev/null
+++ b/src/daeyoung/src/base/Case1.java
@@ -0,0 +1,29 @@
+package base;
+
+import java.util.Scanner;
+
+public class Case1 {
+ public void gameStart(int randomNum){
+ //여기에 작성해 주세요
+ Scanner scanner = new Scanner(System.in);
+
+
+
+ for ( ;; ){
+ Integer userInput = Integer.parseInt(scanner.nextLine());
+
+ if(randomNum < userInput) {
+ System.out.println("DOWN");
+ } else if (randomNum > userInput) {
+ System.out.println("UP");
+ } else {
+ System.out.println("GOOD");
+ break;
+ }
+ }
+ }
+
+
+}
+
+
diff --git a/src/src/.idea/.gitignore b/src/src/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/src/src/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/src/src/.idea/misc.xml b/src/src/.idea/misc.xml
new file mode 100644
index 0000000..a818314
--- /dev/null
+++ b/src/src/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/src/.idea/modules.xml b/src/src/.idea/modules.xml
new file mode 100644
index 0000000..209385b
--- /dev/null
+++ b/src/src/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/src/.idea/vcs.xml b/src/src/.idea/vcs.xml
new file mode 100644
index 0000000..b2bdec2
--- /dev/null
+++ b/src/src/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/src/JH/Case1.java b/src/src/JH/Case1.java
new file mode 100644
index 0000000..c9e689c
--- /dev/null
+++ b/src/src/JH/Case1.java
@@ -0,0 +1,23 @@
+package JH;
+import java.util.Scanner;
+
+public class Case1 {
+ public void gameStart(int randomNum){
+ //여기에 작성해 주세요
+ Scanner sc = new Scanner(System.in);
+ while(true) {
+ Integer userInput = Integer.parseInt(sc.nextLine());
+
+ if (randomNum < userInput) {
+ System.out.println("DOWN");
+ } else if (randomNum > userInput) {
+ System.out.println("UP");
+ } else {
+ System.out.println("GOOD");
+ break;
+ }
+ }
+ }
+}
+
+
diff --git a/src/src/Junghwan/Case1.java b/src/src/Junghwan/Case1.java
new file mode 100644
index 0000000..08eefd1
--- /dev/null
+++ b/src/src/Junghwan/Case1.java
@@ -0,0 +1,24 @@
+package Junghwan;
+
+import java.util.Scanner;
+
+public class Case1 {
+ public void gameStart(int randomNum){
+ Scanner scanner = new Scanner(System.in);
+ //여기에 작성해 주세요
+ while (true){
+ Integer userInput = Integer.parseInt(scanner.nextLine());
+ if ( randomNum < userInput){
+ System.out.println("Down");
+ } else if ( randomNum > userInput) {
+ System.out.println("UP");
+ } else {
+ System.out.println("Good");
+ System.out.println("축하해용가륑");
+ break;
+ }
+ }
+ }
+}
+
+
diff --git a/src/src/Main.java b/src/src/Main.java
index 9983b50..f4e377d 100644
--- a/src/src/Main.java
+++ b/src/src/Main.java
@@ -1,10 +1,8 @@
-import base.Case1;
+import JH.Case1;
public class Main {
public static void main(String[] args) {
Case1 case1 = new Case1();
-
case1.gameStart(3);
-
}
}
\ No newline at end of file
diff --git a/src/src/SungHun/Case1.java b/src/src/SungHun/Case1.java
new file mode 100644
index 0000000..7012273
--- /dev/null
+++ b/src/src/SungHun/Case1.java
@@ -0,0 +1,25 @@
+package SungHun;
+
+import java.util.Scanner;
+
+public class Case1 {
+ public void gameStart(int randomNum) {
+ Scanner sc = new Scanner(System.in);
+
+ String string = "아직 못 맞춤";
+ while (string.equals("아직 못 맞춤")) {
+ Integer userInput = Integer.parseInt(sc.nextLine());
+
+ if (randomNum < userInput) {
+ System.out.println("Down");
+ } else if (randomNum > userInput) {
+ System.out.println("UP");
+ } else {
+ System.out.println("Good");
+ string = "이제 맞춤";
+ }
+ }
+ }
+}
+
+
diff --git a/src/src/base/Case1.java b/src/src/base/Case1.java
index 75aa89c..3379d28 100644
--- a/src/src/base/Case1.java
+++ b/src/src/base/Case1.java
@@ -3,10 +3,7 @@
public class Case1 {
public void gameStart(int randomNum){
//여기에 작성해 주세요
-
}
-
-
}
diff --git a/src/src/eunchae/Case1.java b/src/src/eunchae/Case1.java
new file mode 100644
index 0000000..64309eb
--- /dev/null
+++ b/src/src/eunchae/Case1.java
@@ -0,0 +1,25 @@
+package eunchae;
+
+import java.util.Scanner;
+
+public class Case1 {
+ public static void gameStart(int randomNum) {
+ System.out.print("숫자 입력: ");
+ Scanner scanner = new Scanner(System.in);
+
+ Integer userInput = Integer.parseInt(scanner.next());
+
+ if (randomNum < userInput) {
+ System.out.println("DOWN");
+ gameStart(randomNum);
+
+ } else if (randomNum > userInput) {
+ System.out.println("UP");
+ gameStart(randomNum);
+
+ } else {
+ System.out.println("GOOD");
+ }
+
+ }
+ }
diff --git a/src/src/hanjoon/Case1.java b/src/src/hanjoon/Case1.java
new file mode 100644
index 0000000..b53cfae
--- /dev/null
+++ b/src/src/hanjoon/Case1.java
@@ -0,0 +1,28 @@
+package hanjoon;
+
+import java.util.Scanner;
+
+public class Case1 {
+ public void gameStart(int randomNum){
+ //여기에 작성해 주세요
+ Scanner scanner = new Scanner(System.in);
+
+ while (true) {
+
+ Integer userInput = Integer.parseInt(scanner.nextLine());
+
+ if (randomNum < userInput) {
+ System.out.println("DOWN");
+ } else if (randomNum > userInput) {
+ System.out.println("UP");
+ } else {
+ System.out.println("정답");
+ break;
+ }
+ }
+ scanner.close();
+ }
+
+
+}
+
diff --git a/src/src/jaehyun/Case1.java b/src/src/jaehyun/Case1.java
new file mode 100644
index 0000000..ec3b024
--- /dev/null
+++ b/src/src/jaehyun/Case1.java
@@ -0,0 +1,33 @@
+package jaehyun;
+
+import java.util.Scanner;
+
+public class Case1 {
+ public void gameStart(int randomNum){
+ //여기에 작성해 주세요
+ Scanner sc = new Scanner(System.in);
+
+ String string = "아직 못맞춤";
+
+
+ int i=0;
+ while (i==0) {
+
+ Integer userInput = Integer.parseInt(sc.nextLine());
+
+ if (randomNum < userInput) {
+ System.out.println("DOWN");
+ } else if (randomNum > userInput) {
+ System.out.println("UP");
+ } else {
+ System.out.println("GOOD");
+ i=999999999;
+ }
+
+ }
+ }
+
+
+}
+
+
diff --git a/src/src/jimyung/Case1.java b/src/src/jimyung/Case1.java
new file mode 100644
index 0000000..fa7de1d
--- /dev/null
+++ b/src/src/jimyung/Case1.java
@@ -0,0 +1,23 @@
+package jimyung;
+
+import java.util.Scanner;
+
+public class Case1 {
+ public void gameStart(int randomNum) {
+ //여기에 작성해 주세요
+ Scanner scanner = new Scanner(System.in);
+
+ while (true) {
+ Integer userInput = Integer.parseInt(scanner.nextLine());
+
+ if (randomNum < userInput) {
+ System.out.println("Down");
+ } else if (randomNum > userInput) {
+ System.out.println("Up");
+ } else {
+ System.out.println("Good");
+ break;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/src/minhyeong/Case1.java b/src/src/minhyeong/Case1.java
new file mode 100644
index 0000000..82a4ffb
--- /dev/null
+++ b/src/src/minhyeong/Case1.java
@@ -0,0 +1,24 @@
+package minhyeong;
+
+import java.util.Scanner;
+
+public class Case1 {
+ public void gameStart(int randomNum){
+ //여기에 작성해 주세요
+ Scanner scanner = new Scanner(System.in);
+
+ while (true) {
+ Integer userInput = Integer.parseInt(scanner.nextLine());
+ if (randomNum < userInput) {
+ System.out.println("DOWN!");
+ } else if (randomNum > userInput) {
+ System.out.println("UP!");
+ } else {
+ System.out.println("GOOD :)");
+ break;
+ }
+ }
+ }
+}
+
+
diff --git a/src/src/out/production/spartaSpringBasic/.idea/.gitignore b/src/src/out/production/spartaSpringBasic/.idea/.gitignore
new file mode 100644
index 0000000..13566b8
--- /dev/null
+++ b/src/src/out/production/spartaSpringBasic/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/src/src/out/production/spartaSpringBasic/.idea/misc.xml b/src/src/out/production/spartaSpringBasic/.idea/misc.xml
new file mode 100644
index 0000000..a818314
--- /dev/null
+++ b/src/src/out/production/spartaSpringBasic/.idea/misc.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/src/out/production/spartaSpringBasic/.idea/modules.xml b/src/src/out/production/spartaSpringBasic/.idea/modules.xml
new file mode 100644
index 0000000..209385b
--- /dev/null
+++ b/src/src/out/production/spartaSpringBasic/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/src/out/production/spartaSpringBasic/.idea/vcs.xml b/src/src/out/production/spartaSpringBasic/.idea/vcs.xml
new file mode 100644
index 0000000..b2bdec2
--- /dev/null
+++ b/src/src/out/production/spartaSpringBasic/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/src/out/production/spartaSpringBasic/JH/Case1.class b/src/src/out/production/spartaSpringBasic/JH/Case1.class
new file mode 100644
index 0000000..c550237
Binary files /dev/null and b/src/src/out/production/spartaSpringBasic/JH/Case1.class differ
diff --git a/src/src/out/production/spartaSpringBasic/Main.class b/src/src/out/production/spartaSpringBasic/Main.class
new file mode 100644
index 0000000..ca5e548
Binary files /dev/null and b/src/src/out/production/spartaSpringBasic/Main.class differ
diff --git a/src/src/out/production/spartaSpringBasic/base/Case1.class b/src/src/out/production/spartaSpringBasic/base/Case1.class
new file mode 100644
index 0000000..6962a80
Binary files /dev/null and b/src/src/out/production/spartaSpringBasic/base/Case1.class differ
diff --git a/src/src/out/production/spartaSpringBasic/spartaSpringBasic.iml b/src/src/out/production/spartaSpringBasic/spartaSpringBasic.iml
new file mode 100644
index 0000000..b107a2d
--- /dev/null
+++ b/src/src/out/production/spartaSpringBasic/spartaSpringBasic.iml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/src/soungwon/Case1.java b/src/src/soungwon/Case1.java
new file mode 100644
index 0000000..4a7adbf
--- /dev/null
+++ b/src/src/soungwon/Case1.java
@@ -0,0 +1,12 @@
+package soungwon;
+
+public class Case1 {
+ public void gameStart(int randomNum){
+ //여기에 작성해 주세요
+
+ }
+
+
+}
+
+
diff --git a/src/src/spartaSpringBasic.iml b/src/src/spartaSpringBasic.iml
new file mode 100644
index 0000000..b107a2d
--- /dev/null
+++ b/src/src/spartaSpringBasic.iml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/src/wonho/Case1.java b/src/src/wonho/Case1.java
new file mode 100644
index 0000000..3178d52
--- /dev/null
+++ b/src/src/wonho/Case1.java
@@ -0,0 +1,31 @@
+package wonho;
+
+import java.util.Scanner;
+
+public class Case1 {
+ public void gameStart(int randomNum){
+
+ Scanner scanner = new Scanner(System.in);
+
+ String string = "아직 못맞춤";
+
+ while (string == "아직 못맞춤") {
+ System.out.print("0부터 100까지의 숫자를 입력하세요: ");
+ Integer answer = Integer.parseInt(scanner.nextLine());
+ if (answer < randomNum) {
+ System.out.println("UP");
+ } else if (answer > randomNum) {
+ System.out.println("Down");
+ } else {
+ System.out.println("정답입니다~~~~~~~");
+ string = "이제 맞춤";
+ }
+ }
+ //여기에 작성해 주세요
+
+ }
+
+
+}
+
+
diff --git a/src/src/woobin/Case1.java b/src/src/woobin/Case1.java
new file mode 100644
index 0000000..42ef4f9
--- /dev/null
+++ b/src/src/woobin/Case1.java
@@ -0,0 +1,25 @@
+package woobin;
+import java.util.Scanner;
+
+public class Case1 {
+ Scanner scanner = new Scanner(System.in);
+ public void gameStart(int randomNum) {
+ //여기에 작성해 주세요
+ String string = "아직 못맞춤";
+ while (string == "아직 못맞춤") {
+ Integer userInput = Integer.parseInt(scanner.nextLine());
+ if (randomNum < userInput) {
+ System.out.println("DOWN");
+ } else if (randomNum > userInput) {
+ System.out.println("UP");
+ } else {
+ System.out.println("GOOD");
+ string = "맞춤";
+ }
+
+ }
+ }
+
+}
+
+
diff --git a/src/src/yeongdo/Case1.java b/src/src/yeongdo/Case1.java
new file mode 100644
index 0000000..a0492e5
--- /dev/null
+++ b/src/src/yeongdo/Case1.java
@@ -0,0 +1,28 @@
+package yeongdo;
+
+import java.util.Scanner;
+
+public class Case1 {
+
+ public void gameStart(int randomNum){
+ Scanner sc = new Scanner(System.in);
+
+ while (true) {
+
+ Integer userInput = Integer.parseInt(sc.nextLine());
+
+
+ if (randomNum < userInput) {
+ System.out.println("DOWN");
+
+ } else if (randomNum > userInput) {
+ System.out.println("UP");
+ } else {
+ System.out.println("GOOD");
+ break;
+ }
+ }
+
+
+ }
+}
diff --git a/src/src/younggyu/Case1.java b/src/src/younggyu/Case1.java
new file mode 100644
index 0000000..bd2464e
--- /dev/null
+++ b/src/src/younggyu/Case1.java
@@ -0,0 +1,25 @@
+package younggyu;
+
+import java.util.Scanner;
+
+public class Case1 {
+ public void gameStart(int randomNum){
+ Scanner scanner = new Scanner(System.in);
+
+ String string = "아직 못맞춤";
+
+ // 여기에 작성해 주세요
+
+ while(true) {
+ Integer userInput = Integer.parseInt(scanner.nextLine());
+ if(randomNum < userInput) {
+ System.out.println("Down");
+ } else if (randomNum > userInput) {
+ System.out.println("UP");
+ } else {
+ System.out.println("GOOD");
+ break;
+ }
+ }
+ }
+}
diff --git a/src/taein/Case1.java b/src/taein/Case1.java
new file mode 100644
index 0000000..550df32
--- /dev/null
+++ b/src/taein/Case1.java
@@ -0,0 +1,25 @@
+package taein;
+
+import java.util.Scanner;
+
+public class Case1 {
+ public void gameStart(int randomNum){
+ Scanner scanner = new Scanner(System.in);
+
+ while (true) {
+ Integer userInput = Integer.parseInt(scanner.nextLine());
+ if (randomNum < userInput) {
+ System.out.println("DOWN");
+ } else if (randomNum > userInput) {
+ System.out.println("UP");
+ } else {
+ System.out.println("GOOD");
+ break;
+ }
+ }
+ }
+
+
+}
+
+