Akki-jaiswal / Akki-jaiswal/pong-game
Add Start, Restart, and Pause Buttons to Improve Game Control
- Lingua principale
- JavaScript
- Stelle
- 22
- Fork
- 116
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
At present, the Pong Game starts automatically as soon as the page loads, and there is no way to start, restart, or pause the game manually.
Adding these controls will significantly enhance user interaction and game playability.
Feature Requirements:
Start Button – to start the game loop.
Pause Button – to temporarily halt gameplay.
Restart Button – to reset the game (scores, positions, etc).
Benefits:
Better control over game flow.
Prepares game for further enhancements (like countdowns, difficulty levels).
Beginner-friendly DOM + JS logic; no complex libraries involved.
I would love to work on this issue under GGSOC '25. Kindly assign this to me 🙏
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.