Akki-jaiswal / Akki-jaiswal/pong-game
Add Start, Restart, and Pause Buttons to Improve Game Control
- Dominant language
- JavaScript
- Stars
- 22
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
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 🙏
Contributor guide
Assessment
This issue has not been assessed yet.