Interactive Java Trivia Quiz
Budget: $30 – $250 AUD
I have the skeleton of an idea for a classroom-style trivia quiz and now need the full Java implementation that pulls everything together into a smooth, menu-driven program.
Here is what I already decided:
• All questions will sit in simple .txt files.
• Every line follows the exact pattern:
QuestionText | Answer
• I want the game to group and search those questions By topic, so the program should detect or tag each file (or folder) as a distinct topic when loading.
What the finished program must do
– On start-up, scan one or many question files, parse them, and build an in-memory list organised by topic.
– Let me add any number of players, keep a running score for each, and rotate turns automatically.
– Offer a topic-selection menu, serve one random question at a time from that topic, check the given answer, update the score, then loop until the user chooses to quit.
– Persist the scoreboard to a file when the session ends so we can resume later.
– Remain strictly console-based; no GUI needed, just clear prompts and clean formatting.
Technical notes
Write clean, idiomatic Java (Java 11 or later), break functionality into separate classes (FileLoader, Question, QuizEngine, Player, etc.), and comment your code so it’s easy for students to study. Please avoid third-party libraries unless absolutely necessary—I prefer standard Java I/O, collections, and utilities.
Deliverables
1. Full source code with inline comments.
2. A short README showing how to compile and run the program, plus an example of the expected question file layout.
3. One sample .txt bank containing at least 10 questions across two or more topics so I can test immediately.
I’m happy to clarify edge cases or additional features once we get underway, but the above is the minimum acceptance criteria for sign-off.
Here is what I already decided:
• All questions will sit in simple .txt files.
• Every line follows the exact pattern:
QuestionText | Answer
• I want the game to group and search those questions By topic, so the program should detect or tag each file (or folder) as a distinct topic when loading.
What the finished program must do
– On start-up, scan one or many question files, parse them, and build an in-memory list organised by topic.
– Let me add any number of players, keep a running score for each, and rotate turns automatically.
– Offer a topic-selection menu, serve one random question at a time from that topic, check the given answer, update the score, then loop until the user chooses to quit.
– Persist the scoreboard to a file when the session ends so we can resume later.
– Remain strictly console-based; no GUI needed, just clear prompts and clean formatting.
Technical notes
Write clean, idiomatic Java (Java 11 or later), break functionality into separate classes (FileLoader, Question, QuizEngine, Player, etc.), and comment your code so it’s easy for students to study. Please avoid third-party libraries unless absolutely necessary—I prefer standard Java I/O, collections, and utilities.
Deliverables
1. Full source code with inline comments.
2. A short README showing how to compile and run the program, plus an example of the expected question file layout.
3. One sample .txt bank containing at least 10 questions across two or more topics so I can test immediately.
I’m happy to clarify edge cases or additional features once we get underway, but the above is the minimum acceptance criteria for sign-off.