A minimalist recreation of the classic Pong game, built using HTML5, CSS, and JavaScript.
- Two-player gameplay: Compete against a friend or bot.
- Responsive controls: Keyboard support for paddle movement.
- Score tracking: Displays current score during gameplay.
- Simple UI: Clean interface with retro aesthetics.
- Frontend: HTML5, CSS3, JavaScript
- Graphics: Canvas API
- Controls: Keyboard event listeners
-
Clone the repository:
git clone https://github.com/saad2134/pong-game.git
-
Navigate to the project directory:
cd pong-game -
Open
index.htmlin your preferred web browser to start playing.
-
Player 1 (Left Paddle):
- Move Up:
W - Move Down:
S
- Move Up:
-
Player 2 (Right Paddle):
- Move Up:
Up Arrow - Move Down:
Down Arrow
- Move Up:
Contributions are welcome. To contribute:
- Fork the repository.
- Create a new branch (
feature/your-feature). - Implement your changes.
- Submit a pull request for review.
⭐ Star this repo if you found it helpful! Thanks for reading.
#PongGame #HTML5 #CSS3 #JavaScript #CanvasAPI #WebGame #BrowserGame #TwoPlayerGame #GameDevelopment #RetroGame #OpenSource #FrontendDevelopment #KeyboardControls #ClassicGame #GameUI #InteractiveGame #ScoreTracking #FunProject #GameDesign #MinimalistGame