Akki-jaiswal / Akki-jaiswal/pong-game
ENHANCE : Show Score Card on Pause
- Lingua principale
- JavaScript
- Stelle
- 22
- Fork
- 116
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Description:
Currently, when the user clicks on the "Pause" button in the Pong game, the gameplay halts but there’s no visual indication or score update shown. This can make the pause state feel abrupt or confusing.
Proposed Solution:
Display a centered card when the game is paused, which includes:
-Current score of both players (ravneet vs AI)
-A "Resume" button
-Optional: Backdrop blur or dark overlay for focus
Benefits:
-Improves clarity and user experience during pause
-Gives users a quick look at their progress
-Adds a professional and polished UI touch
Suggested Implementation:
-Use a useState hook to toggle pause state
-Conditionally render a
-Add CSS for modal-style card with slight animation or shadow
i would like to solve this issue , you can assigned this to me under GSSOC'25.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.