import java.util.Scanner;
class TestYourself {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.print("\n" + "\n" + "~~~~~~~~ How much of a gamer are you? ~~~~~~~~" + "\n" + "\n");

        System.out.print("Q: How many video games have you finished in your life?" + "\n" + "\n" + "1) None" + "\n" + "2) Very few, less than 2" + "\n" + "3) More than 5" + "\n" + "4) Like...so many I can't tell you a number" + "\n" + "Choose an answer" + "\n");
        int checkInput = in .nextInt(); // taking input into a first variable to check if its in the scope
        if (checkInput < 1 || checkInput > 4) { // checking if the user input is within the scope of the question
            System.out.print("\n" + "\n" + "You chose a wrong option!" + "\n" + "\n"); // if user input is outside of scope, terminate
        } else { // if user input is within scope, continue to next question
            int score = checkInput; // creating var score to keep track of the global score

            System.out.print("Q:Have you ever spent the whole night playing a video game?" + "\n" + "\n" + "1) Never" + "\n" + "2) Maybe once" + "\n" + "3) Occasionally" + "\n" + "4) Yeah dude!! So many times" + "\n" + "Choose an answer" + "\n");
            checkInput = in .nextInt();
            if (checkInput < 1 || checkInput > 4) {
                System.out.print("\n" + "\n" + "You chose a wrong option!" + "\n" + "\n");
            } else {
                score = score += checkInput; // adding verified user input to global score

                System.out.print("\n" + "Q: Have you ever bought in-game currency for real money? " + "\n" + "\n" + "1) Hell yeah, I bought hearts on Candy Crush!" + "\n" + "2) It happened more than once" + "\n" + "3) It happened once" + "\n" + "4) I'm way too good to pay for stuff like that" + "\n" + "Choose an answer" + "\n");
                checkInput = in .nextInt();
                if (checkInput < 1 || checkInput > 4) {
                    System.out.print("\n" + "\n" + "You chose a wrong option!" + "\n" + "\n");
                } else {
                    score = score += checkInput;

                    System.out.print("\n" + "Q: Do you know who's Leeroy Jenkins?" + "\n" + "\n" + "1) A what?" + "\n" + "2) That rings a bell, but I don't know" + "\n" + "3) I know that reference!" + "\n" + "4) LEEEEEEROOOOOOYYYYYYYYYYYY" + "\n" + "Choose an answer" + "\n");
                    checkInput = in .nextInt();
                    if (checkInput < 1 || checkInput > 4) {
                        System.out.print("\n" + "\n" + "You chose a wrong option!" + "\n" + "\n");
                    } else {
                        score = score += checkInput;

                        System.out.print("\n" + "Q: What's your favorite game in that list?" + "\n" + "\n" + "1) The Sims" + "\n" + "2) Fifa" + "\n" + "3) MineCraft" + "\n" + "4) Any Blizzard Game" + "\n" + "Choose an answer" + "\n");
                        checkInput = in .nextInt();
                        if (checkInput < 1 || checkInput > 4) {
                            System.out.print("\n" + "\n" + "You chose a wrong option!" + "\n" + "\n");
                        } else {
                            score = score += checkInput;

                            System.out.print("\n" + "\n" + "~~~~~~~~ Quizz Result ~~~~~~~~" + "\n" + "\n");

                            if (score == 5) {
                                System.out.print("You're not a gamer at all. Did you even have a childhood?!" + "\n");
                            } else if (score > 5 && score < 10) {
                                System.out.print("You're a noob. A noob is a person who really sucks at a game but refuses to learn/listen to people who are skilled. Many of them may have been playing the game for a while, but still suck at it. They usually have no hope. " + "\n");
                            } else if (score >= 10 && score < 15) {
                                System.out.print("You're a Newbie. Newbs are those who are new to some task* and are very beginner at it, possibly a little overconfident about it, but they are willing to learn and fix their errors to move out of that stage" + "\n");
                            } else if (score >= 15 && score < 20) {
                                System.out.print("You're a beast at video games. You're very good at it. Sometimes you're so good at a certain skill that you have exceeded human comprehension, thus making you non-human. " + "\n");
                            } else {
                                System.out.print("You're a 1337. You're a number??" + "\n");
                            }
                            System.out.print("\n" + "Your score is " + score);
                        }
                    }
                }

            }
        }
    }
}