PING-PONG is a fun and fast-paced arcade-like game built with Pygame. The goal of the game is to deflect the ball with your paddle, scoring more points than your opponent.
![image](https://private-user-images.githubusercontent.com/144150492/273468844-95c84716-b577-4daa-b29e-4c94b7196785.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg2NjU1NDcsIm5iZiI6MTcxODY2NTI0NywicGF0aCI6Ii8xNDQxNTA0OTIvMjczNDY4ODQ0LTk1Yzg0NzE2LWI1NzctNGRhYS1iMjllLTRjOTRiNzE5Njc4NS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNjE3JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDYxN1QyMzAwNDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yZGFmNTlhMGU1NDQ1YTI2ZThmZDExMDc1YTFiOTc2MWI2NTc2NmVlMzJiZDk4YjY5NzdiNzVlZTNjY2MzN2QwJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.1fMAIWdF0iegMywlNzbdRo3mJCj3r_ld-ocwG7QRo0E)
You will need Python installed on your system, along with the Pygame library. If you don't have Pygame installed, you can do it by running pip install pygame
on your command line.
To start the game, run the Python script via command line or through your IDE.
The game is a two-player game. Your aim is to hit the ball with your paddle making the ball move to the opponent's side. If your opponent misses the ball, you get a point. The first player to score 5 points wins the match.
Each player starts with some special powers, which can be used to influence the game's direction. Powers are carefully limited, so use them wisely!
Player 1 (Left Paddle):
- 'w': Move paddle up
- 's': Move paddle down
- 'd': Activate power 1 (when available) - This power shoots the ball with speed when hitting it.
- 'a': Activate power 2 (when available) - This power moves the paddle in line with the ball
Player 2 (Right Paddle):
- 'up arrow': Move paddle up
- 'down arrow': Move paddle down
- 'right arrow': Activate power 1 (when available) - This power shoots the ball with speed when hitting it.
- 'left arrow': Activate power 2 (when available) - This power moves the paddle in line with the ball
Have fun with the game and may the best player win!