Akki-jaiswal / Akki-jaiswal/pong-game
Display Current Game Score on Game Over Screen
- Lingua principale
- JavaScript
- Stelle
- 22
- Fork
- 116
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
## 🔧 Feature Request: Show Current Score on Game Over Screen
### 🎯 Goal
Improve the Game Over experience by showing the **highest recorded score** for the current difficulty on the Game Over screen.
This will **motivate players to beat their previous best** and give them clear feedback after each session.
---
### ✅ Acceptance Criteria
- When Game Over is triggered, show the final scores of both the Player and the AI.
- Scores must be clearly labeled. Example:
**Player: 4, AI: 2**
- The final score must be **visually separated** from the result message like
`"Player Wins!"` or `"AI Wins!"`
- Display the **highest recorded score** for that difficulty level somewhere on the screen.
---
### 💥 Why This Is Cool
Right now, Game Over feels like hitting a wall 🚧
Let’s turn that wall into a scoreboard! 🏆
Showing the highest score makes players want to try again, beat records, and keeps them hooked!
This one small addition can **boost user engagement**, add competitiveness, and make Game Over screens actually fun to see 😄
Let’s make it happen! 🔥🎮
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.