A JavaFX-based simulation of the popular TV game show "Who Wants to be a Millionaire?"
Test your knowledge and try to win €1,000,000 by answering 15 multiple-choice questions of increasing difficulty!
- 15 multiple-choice questions (A, B, C, D)
- Questions increase in difficulty
- Each correct answer increases your prize money
The prizes progress as follows:
- €100
- €200
- €500
- €1,000
- €2,000 (🔒 Safe Level 1)
- €4,000
- €8,000
- €16,000
- €32,000
- €64,000 (🔒 Safe Level 2)
- €125,000
- €250,000
- €500,000
- €750,000
- €1,000,000 🎉
- Question 5 (€2,000): First safety level
- Question 10 (€64,000): Second safety level
If you answer incorrectly after reaching a safety net, you leave with that amount. If you fail before the first safety net, you leave with nothing!
- 50:50 - Eliminates two incorrect answers, leaving one correct and one incorrect
- 📞 Phone a Friend - Get advice from a "friend" (simulated)
- 👥 Ask the Audience - See how the audience votes (simulated poll results)
- Answer - Select A, B, C, or D
- Correct: Move to the next question
- Incorrect: Game over, return to last safety level
- Use a Lifeline - Click any available lifeline button
- Stop and Take the Money - Walk away with your current winnings
- Dark, elegant theme inspired by the TV show
- Color-coded elements:
- 🟡 Gold accents for titles and highlights
- 🔵 Blue for current question
- 🟢 Green for correct answers and safe levels
- 🔴 Red for incorrect answers
- 🟣 Purple for lifelines
- Located on the right side
- Shows all 15 prize levels
- Highlights:
- Current question (blue glow)
- Safe levels (green background)
- Achieved levels (lighter green)
- Hover effects on all buttons
- Visual feedback when selecting answers
- Animations showing correct/incorrect answers
- Disabled state for used lifelines
- Java 21 or higher
- Maven (or use the included Maven wrapper)
Using Maven wrapper (recommended):
./mvnw clean javafx:runOr using IntelliJ IDEA:
- Open the project
- Run the
Launcherclass orHelloApplicationclass
Scenario: You're on Question 12 with €250,000 at stake
- You've already secured €64,000 (Question 10 safe level)
- Options:
- ✅ Answer correctly → Move to €500,000
- ❌ Answer incorrectly → Leave with €64,000 (safe level)
- 🛑 Stop → Leave with €250,000
src/main/
├── java/esprit/scrumgame/
│ ├── HelloApplication.java # Main application launcher
│ ├── MillionaireController.java # Game logic and UI controller
│ ├── HelloController.java # (Original demo controller)
│ └── Launcher.java # Alternative launcher
└── resources/esprit/scrumgame/
├── millionaire-game.fxml # Main game UI layout
├── millionaire-style.css # Game styling
└── hello-view.fxml # (Original demo view)
✅ 15 questions with increasing difficulty
✅ Prize ladder with safety nets
✅ Three lifelines (50:50, Phone a Friend, Ask the Audience)
✅ "Stop and Take the Money" option
✅ Visual feedback for correct/incorrect answers
✅ Game over detection with appropriate prize calculation
✅ Win detection (reaching €1,000,000)
✅ Play again functionality
✅ Professional, TV-show inspired UI
Potential features to add:
- Question database with categories
- Difficulty progression algorithm
- Sound effects and background music
- Timer for questions
- Player statistics and high scores
- Multiplayer mode
- Custom question sets
- Localization (multiple languages)
- JavaFX 21 - UI framework
- Maven - Build tool
- FXML - UI layout
- CSS - Styling
Built as a SCRUM game project for educational purposes.
This is a simulation for educational purposes. "Who Wants to be a Millionaire?" is a registered trademark of Sony Pictures Television.