forked from leoabubucker/JavaCourse_THS-CS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathJavaIntro.java
40 lines (36 loc) · 1.74 KB
/
JavaIntro.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*----------------------------------------------------*/
/* */
/* Intro to Java - THS Comp Sci Olympiad */
/* */
/* Press the big green "Run" button! */
/* Created by Leo Abubucker - Club Co-Founder */
/* */
/*----------------------------------------------------*/
import java.util.concurrent.TimeUnit;
import java.util.Scanner;
public class JavaIntro {
private static final Scanner CONSOLE = new Scanner(System.in);
public static void main(String[] args) {
HelperFunctions.clearConsole();
HelperFunctions.printAnimated(
"Hello and welcome to the Intro Java Crash Course, for "
+ "THS Computer Science Olympiad Club created by Leo "
+ "Abubucker!");
HelperFunctions.sleep(500, "msec");
HelperFunctions.printAnimated(
"\nThis crash course will teach you the basics of Java, and "
+ "prepare you to compete in programming competitions.");
HelperFunctions.sleep(500, "msec");
HelperFunctions.printAnimated(
"\nWe will primarily prepare you to compete at the UMD "
+ "High School Programming Competition: "
+ "\nhttps://www.cs.umd.edu/Outreach/hsContest23/index.html");
HelperFunctions.printAnimated("Type 'ok' to continue to where you left off:\n");
String userInput = CONSOLE.nextLine();
while (!userInput.equalsIgnoreCase("ok")) {
HelperFunctions.printAnimated("Don't give up already! Please enter 'ok' to begin:\n");
userInput = CONSOLE.nextLine();
}
HelperFunctions.loadProgress();
}
}