Skip to content

Ayush-Patel-56/Ping-Pong-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

10 Commits
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Modern Pong Game

A modern remake of the classic Pong game built with HTML, CSS, and JavaScript.
This project upgrades the retro arcade experience with a clean UI, smooth gameplay, and immersive effects.


โœจ Features

  • ๐Ÿ† Scoreboard with player labels (Player 1 & Player 2)
  • ๐ŸŽจ Professional UI โ€“ gradient background, neon paddles, polished design
  • โณ Countdown animation (3โ€ฆ2โ€ฆ1โ€ฆGO!) before every round
  • ๐Ÿ”Š Sound effects โ€“ paddle hit, wall bounce, score, and game over
  • ๐ŸŽถ Background music with floating Mute/Unmute button
  • ๐Ÿ•น๏ธ Game Over overlay with winner announcement
  • ๐Ÿ”„ Play Again button for restarting the match

๐Ÿš€ Tech Stack

  • HTML5 Canvas โ†’ game rendering
  • CSS3 โ†’ UI design & styling
  • JavaScript (ES6) โ†’ game logic, animations, and interactions

๐ŸŽฏ How to Play

  • Player 1 (Left Paddle):

    • W = Move Up
    • S = Move Down
  • Player 2 (Right Paddle):

    • โ†‘ = Move Up
    • โ†“ = Move Down

๐Ÿ‘‰ First player to 5 points wins ๐Ÿ…


๐Ÿ’ก Future Improvements

  • Add AI opponent for single-player mode
  • Mobile-friendly touch controls
  • Difficulty levels

๐Ÿง‘โ€๐Ÿ’ป Author

๐Ÿ‘ค Ayush Patel


โœจ Built to practice game development with vanilla JavaScript and modern UI design.

git clone https://github.com/Ayush-Patel-56/Ping-Pong-Game.git
cd Ping-Pong-Game

About

This Game is created using HTML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages