๐ Java Quiz Game
A simple console-based quiz game built in Java. ๐ Test your knowledge with multiple-choice questions, get instant feedback, and track your score at the end!
โก Features
๐ Loops through a set of questions with multiple options
โ Checks userโs answer and shows CORRECT or โ WRONG
โณ Adds a short delay between questions for a smooth experience
๐ Displays your total score at the end
๐ป How to Run
Clone this repo
git clone https://github.com/your-username/java-quiz-game.git
Open it in IntelliJ / VS Code / any Java IDE.
Compile and run:
javac Main.java java Main
๐ฎ Sample Gameplay Q1. Which of the following is the correct way to print in Java? a) print("Hello World") b) System.out.println("Hello World"); c) echo("Hello World") d) Console.write("Hello World")
Enter your guess: 2
CORRECT
Your Score: 1/1
๐ Future Ideas
Add a timer for each question โฑ๏ธ
Load questions from a file (like JSON/CSV) ๐
Keep track of high scores ๐ฅ