https://github.com/raj-kashyap001/pong-game
https://github.com/raj-kashyap001/pong-game
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/raj-kashyap001/pong-game
- Owner: Raj-Kashyap001
- Created: 2023-10-27T15:23:47.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-28T02:56:55.000Z (over 1 year ago)
- Last Synced: 2025-01-02T00:10:37.136Z (6 months ago)
- Language: JavaScript
- Size: 2.21 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Pong Game
A classic web-based Pong game implemented with HTML, CSS, and JavaScript.Pong Game Screenshot
## Table of Contents
- [About the Project](#about-the-project)
- [Built With](#built-with)
- [Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [How to Play](#how-to-play)
- [Controls](#controls)
- [Game Features](#game-features)
- [Sound Effects](#sound-effects)
- [Contributing](#contributing)
- [License](#license)## About the Project
Pong Game is a web-based implementation of the classic Pong arcade game. It provides a simple and enjoyable gaming experience where you can test your reflexes by bouncing a ball back and forth between two paddles.
### Built With
- HTML
- CSS
- JavaScript## Getting Started
### Prerequisites
To run this game locally, you need a modern web browser.
### Installation
1. Clone the repository
```sh
git clone https://github.com/Raj-Kashyap001/Pong-Game.gitOpen index.html in your web browser.
Enjoy playing Pong!
How to Play
Pong is a two-player game, where you control one paddle and the computer controls the other. The objective is simple: score points by making the ball pass your opponent's paddle.Controls
Use the ArrowUp and ArrowDown keys to move your paddle up and down.
On mobile devices, you can use on-screen touch controls to move your paddle.
Use the Pause button to pause the game and Resume to continue playing.
Click the Reset button to start a new game.
Game Features
Realistic ball physics.
Responsive design for desktop and mobile play.
Score tracking for both players.
Pause and resume functionality.
A restart button for starting a new game.
Sound Effects
The game includes sound effects for user interactions, such as clicking the "Start" button and paddle-ball collisions. Additionally, a "woosh" sound plays when the ball goes off the boundary. These sound effects enhance the gaming experience and can be customized by replacing the sound files in the sounds folder.Contributing
Contributions are what make the open-source community such a fantastic place to learn, inspire, and create. Any contributions you make are greatly appreciated.Fork the Project.
Create your Feature Branch (git checkout -b feature/AmazingFeature).
Commit your Changes (git commit -m 'Add some AmazingFeature').
Push to the Branch (git push origin feature/AmazingFeature).
Open a Pull Request.
License
Distributed under the MIT License. See LICENSE for more information.