An adrenaline-pumping, two-player head-to-head trivia game designed for desktop. Two contestants compete on the same machine using dedicated split-keyboard keybindings against a strict 15-second countdown timer.
- Split-Keyboard Rapid Response:
- Player 1 Keys:
Q(A),W(B),E(C),R(D) - Player 2 Keys:
H(A),J(B),K(C),L(D)
- Player 1 Keys:
- โฑ๏ธ 15-Second Pressure Timer: Multi-threaded countdown thread driving dynamic round urgency with synchronized sound cues.
- ๐ Persistent Leaderboard: Real-time top-10 player ranking tracking lifetime wins and scores saved to file storage (
player.txt). - โ๏ธ Smart Conflict & Tie Resolution: Prevents self-play (same user as both players) and handles tie rounds with sudden-death tie screens.
flowchart LR
Welcome[Welcome Screen] --> Login[Dual Player Login / Register]
Login --> Topic[Question Category Selection]
Topic --> Rules[Controls & Rules Briefing]
Rules --> Arena[Live 15s PvP Quiz Arena]
Arena --> Result{Score Outcome}
Result -->|Winner| WinPage[Winner Page & +1 Win Point]
Result -->|Tie| TiePage[Tie Resolution Screen]
WinPage --> Rank[Top 10 Global Leaderboard]
- Clone the repository:
git clone https://github.com/BytePaladin/Multiplayer-Quiz-Application-java-.git
- Open the
MultiplayerQuizApplicationdirectory in NetBeans or IntelliJ. - Run
src/multiplayerquizapplication/WelcomePage.java.
cd MultiplayerQuizApplication/src
javac multiplayerquizapplication/*.java
java multiplayerquizapplication.WelcomePage