Restart
Reset the complete game.
93% track progress
📂 Step 1 — Open the Project for This Track
Open this folder in VS Code or your editor:
tracks/flutter/final-project/
Open Final Project Folder📄 Step 2 — Files to Edit
For this track, these are the important files:
Start with the yellow file, then update the others only when the task asks you to.
🎯 Step 3 — Learning Objective
Students rebuild initial state.
🔨 Step 4 — Fully Defined Student Task
What to build
- Add Restart button on result screen and/or quiz screen.
- Reset current question index to 0.
- Reset score, selected answer, feedback, hidden options and timer.
- Reset lifeline usage.
- Show first question again.
Acceptance Criteria
- Restart returns to question 1.
- Score becomes 0.
- Lifelines become available again.
- Timer starts again.
What to submit to the teacher
- Screenshot after restart.
- Explain all values that are reset.
Do not move ahead until
- The project runs without errors.
- You can explain which files changed.
- The acceptance criteria above are satisfied.
▶ Step 5 — Run the Project
Use this command or method:
cd tracks/flutter/final-project flutter pub get flutter run
✅ Step 6 — Checkpoint Output
KBC Quiz
Restart should now work.
A. Sample optionB. Sample optionC. Sample optionD. Sample option🧠 Step 7 — Mini Quiz
- What exact feature did this milestone add?
- Which file changed the most and why?
- Which acceptance criterion proves the work is complete?
🆘 Full Code Fallback
👀 View / Copy Complete Help
Open this only after trying.
// Milestone 14: Restart
// Open: tracks/flutter/final-project/
// Complete every item under "What to build".
// Test every item under "Acceptance Criteria".Add Restart button on result screen and/or quiz screen.
Reset current question index to 0.
Reset score, selected answer, feedback, hidden options and timer.
Reset lifeline usage.
Show first question again.Ask the student to demonstrate the running output, then ask which file changed and why.🌐 GitHub Commit
After the milestone works, commit it:
git add . git commit -m "Complete Flutter milestone 14: Restart" git push