An open API service indexing awesome lists of open source software.

https://github.com/mostafahima/ping-pong-game

A Python Ping Pong game using Turtle, with two paddles, a bouncing ball, and a scoring system for two players.
https://github.com/mostafahima/ping-pong-game

game ping-pong python3 turtle

Last synced: 7 months ago
JSON representation

A Python Ping Pong game using Turtle, with two paddles, a bouncing ball, and a scoring system for two players.

Awesome Lists containing this project

README

          

# Ping Pong Game

This is a classic Ping Pong game implemented using Python and the Turtle graphics library. The game features two paddles controlled by the player and an interactive ball that bounces off the walls and paddles. The objective is to prevent the ball from passing your paddle while trying to score points against the opponent.

## Game Features
- **Two paddles**: The left and right paddles are controlled by different keys.
- **Bouncing ball**: The ball bounces off the walls and paddles.
- **Increasing speed**: The ball's speed increases each time it bounces off a paddle.
- **Score tracking**: The game tracks the score of each player.

## Controls
- **Left paddle**:
- Move up with `W` key
- Move down with `S` key
- **Right paddle**:
- Move up with `Up Arrow` key
- Move down with `Down Arrow` key

## Requirements
- Python 3.x
- `turtle` module (usually included by default in Python installations)

## How to Run
1. Clone or download this repository.
2. Make sure you have Python 3.x installed on your system.
3. Open a terminal/command prompt in the project directory.
4. Run the game by executing the following command:
```bash
python main.py