Skip to content

arpan8925/Ping_Pong_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ping Pong Game

A classic two-player Ping Pong game built using Python and the Turtle Graphics module. This project is a fun implementation of the timeless arcade game and serves as an excellent learning project for game development enthusiasts.

Ping Pong Game Screenshot


Features

  • Two-Player Gameplay: Enjoy a competitive game of Ping Pong with a friend.
  • Scorekeeping: Tracks and displays scores for both players in real-time.
  • Simple Controls: Easy-to-use keyboard controls for paddle movement.
  • Classic Design: Retro-styled graphics reminiscent of the original Ping Pong arcade game.

How to Play

  1. Clone the repository:
    git clone https://github.com/your-username/Ping_Pong_Game.git
  2. Navigate to the project directory:
    cd Ping_Pong_Game
  3. Run the game:
    python main.py
  4. Use the following controls:
    • Player 1: Move paddle up and down using the A and D keys.
    • Player 2: Move paddle up and down using the Right Arrow and Left Arrow keys.

Technologies Used

  • Python: The core programming language.
  • Turtle Graphics: For creating game graphics and animations.

Project Structure

Ping_Pong_Game/
│
├── ball.py          # Handles the ball's movement and collision logic
├── paddle.py        # Manages paddle behavior and controls
├── scoreboard.py    # Implements scorekeeping functionality
├── main.py          # The main game loop and initialization
└── README.md        # Project documentation

Contributing

Contributions are welcome! If you have ideas to improve the game or fix any bugs, feel free to fork the repository and submit a pull request.


License

This project is licensed under the MIT License.

About

Ping Pong Game using Python turtle Module

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages