Akki-jaiswal / Akki-jaiswal/pong-game
Feature: Add Visual Game Timer (Elapsed Time Display)
- Lenguaje dominante
- JavaScript
- Estrellas
- 22
- Forks
- 116
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Problem
Currently, there is no indicator showing how long a match lasts. Even though the game ends after either player scores 3 points, users have no sense of how quickly they won or lost.
Why It’s Important:
Helps players track their performance (e.g., fastest win/loss time).
Makes the UI feel more complete and polished.
Adds a layer of competitiveness which further increases user engagement.
Suggested Solution:
Add a small elapsed time counter to the top-right or top-center of the screen.
Display format: Elapsed Time: 00:45.
Timer should:
Start when the game begins.
Pause on “Pause”.
Stop when the game ends (i.e., a player reaches 3 points).
I am a contributor for gssoc 25 and would love to work on this issue if it gets approved.
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.