🎮 Online Quiz Game System
A console-based quiz game in Java with multiple categories, scoring system, leaderboards, and interactive gameplay features.
- Multiple Categories: Science, History, Geography, Sports, Technology
- Smart Scoring: Points based on difficulty (10/20/30 pts) with 25% penalty for wrong answers
- Player Profiles: Track scores, accuracy, and game history
- Leaderboard: Top 10 players ranked by total score
- Interactive Lifelines: Hints and skip options during quiz
- Custom Questions: Add your own questions to the game
# Clone the repository
git clone https://github.com/yourusername/online-quiz-game.git
# Compile
javac *.java
# Run
java OnlineQuizGame- Enter your name to login
- Select "Start New Quiz" from the main menu
- Choose a category or "All Categories"
- Answer questions (1-4) or use:
hfor hintsto skip question
- View your final score and leaderboard ranking
OnlineQuizGame.java- Main application controllerQuizEngine.java- Quiz execution logicQuestionManager.java- Question storage and retrievalPlayer.java- Player profiles and statisticsLeaderboard.java- Ranking systemQuestion.java&QuizAttempt.java- Data models
- Java JDK 8 or higher
Contributions welcome! Fork the repo and submit a pull request.
Happy Quizzing! 🏆