Skip to content

Commit

Permalink
Added README.md and assets
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul0x00 committed Oct 4, 2023
1 parent de03a57 commit da7999a
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions Games/Pong/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Pong Game

![Pong Game Screenshot](image.png)

## Description

Pong is a classic two-player arcade game where the objective is to prevent the ball from passing your paddle while trying to make the ball pass your opponent's paddle. This simple yet entertaining game is created using HTML, CSS, and JavaScript.

## Features

- Two-player gameplay
- Paddle control using keyboard input
- Bouncing ball that moves back and forth
- Continuous play until one player misses the ball
- Game over and round restart functionality

## How to Play

1. Clone or download this repository to your local machine.

2. Open `index.html` in your web browser.

3. Player 1 (left paddle) uses the "W" key to move up and the "S" key to move down.

4. Player 2 (right paddle) uses the arrow keys: Up arrow to move up and Down arrow to move down.

5. The game starts with one player serving the ball. Use your paddle to hit the ball and prevent it from passing your side of the screen.

6. The game continues until one player fails to return the ball. The opposing player is declared the winner of that round.

7. You can restart the game by refreshing the web page.

## Screenshots

![Pong Game Screenshot](image.png)

## License

This project is licensed under the [MIT License](LICENSE).

## Acknowledgments

- The Pong game was inspired by the classic arcade game created by Atari, one of the pioneers of video game development.

Binary file added Games/Pong/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/pong.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit da7999a

Please sign in to comment.