Skip to content

Latest commit

ย 

History

History
82 lines (58 loc) ยท 1.81 KB

File metadata and controls

82 lines (58 loc) ยท 1.81 KB

๐Ÿ•น๏ธ 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}