A classic Pong game implemented using HTML, CSS, and JavaScript. Play against a simple AI and enjoy smooth, responsive gameplay.
This project recreates the classic Pong game, where you can play against an AI opponent. The game features a responsive design for various screen sizes and smooth animations.
- Responsive design for various screen sizes
- AI opponent
- Game Over screen with the option to play again
- Smooth animations using
requestAnimationFrame
Pong-Game.mp4
- Clone the repository:
git clone git@github.com:Shwetaank/-Pong-Game.git
- Navigate to the project directory:
cd pong-game
- Open the index.html file in your browser to start playing.
- Move your mouse to control the bottom paddle.
- Score points by hitting the ball past the opponent's paddle.
- The first player to reach the winning score (default is 7) wins the game.
- HTML
- CSS
- JavaScript
- To run this project locally, follow these steps:
- Clone this repository to your local machine.
- Open the index.html file in your preferred web browser.
This project is deployed using GitHub Pages. Any changes pushed to the main branch will automatically update the live deployment.
Inspired by classic Pong game mechanics. Icons and other assets sourced from various free resources.