This is a simple implementation of the classic Pong game using the Turtle graphics library in Python. The game features two paddles controlled by the players and a bouncing ball. The objective is to hit the ball with the paddles and score points by making the ball pass the opponent's paddle.
Make sure you have Python installed on your system. To run the game, execute the following command in your terminal or command prompt:
python pong_game.pyPlayer A:
- Move Up: w key
- Move Down: s key
Player B:
- Move Up: Up arrow key
- Move Down: Down arrow key
- The game starts with the ball moving towards Player B.
- Players control their paddles to hit the ball and prevent it from passing their side.
- If the ball passes Player A's paddle, Player B scores a point, and vice versa.
- The game ends after a set number of points or can be played indefinitely.
This game uses the Turtle graphics library, which is included in the Python standard library. No additional dependencies are required.
This Pong game is a simple project created for educational purposes. It was inspired by the classic Pong arcade game.
Feel free to modify and enhance the code to add more features and improve the gameplay experience. Enjoy playing Pong!