Skip to content

Shootingstar-99/Pong_Game_Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🕹️ Python Pong Game

A Python implementation of the classic Pong arcade game using the built-in turtle graphics module. This project showcases object-oriented design, simple game physics, and user interaction — all in a fun and retro package!


🚀 How to Run

1️⃣ Clone the repo

#Clone the repo
git clone https://github.com/Shootingstar-99/Pong_Game_Python.git
cd Pong_Game_Python

2️⃣ Run the main file

python main.py

🎮 Controls

Player Move Up Move Down
Left W S
Right

Press Enter to start the game.


🧠 Features

  • Paddle movement for two players
  • Ball physics with bounce and acceleration
  • Collision detection (walls and paddles)
  • Score tracking and game over condition
  • Modular structure with multiple classes:
    • Paddle
    • Ball
    • Scoreboard
    • WelcomeScreen

📁 Project Structure

PongGame/
├── main.py # Main game loop
├── paddle.py # Paddle class
├── ball.py # Ball mechanics
├── scoreboard.py # Scoreboard and game logic
└── welcomescreen.py # Intro and game over screens

🧰 Tech Stack

  • Language: Python 3.13+
  • Library: turtle (standard Python library)

No external dependencies required.


📜 License

This project is licensed under the MIT License.


💡 Inspiration

Inspired by the original Pong game released by Atari. Built for learning, experimenting, and having fun while mastering Python OOP and the turtle module.


🙌 Contributions

Contributions are welcome! If you'd like to improve the game or add features, feel free to fork the repo and open a pull request.


Made with 🐍 and ❤️ by Snehit Raj {Shootingstar-99}

About

Pong game using turtle library of python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages