Skip to content

About

A classic Pong Game built using Python and Turtle graphics.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

Pong Game

A classic Pong Game built using Python and the Turtle graphics module. This project is part of my Python learning journey and helped me understand object-oriented programming, collision detection, game logic, and animation.

Features

  • Two-player gameplay.
  • Paddle movement using keyboard controls.
  • Ball collision with paddles and walls.
  • Score tracking for both players.
  • Ball speed increases after each successful hit.

Technologies Used

  • Python
  • Turtle Graphics
  • Object-Oriented Programming (OOP)

Project Structure

Python-Pong-Game/
│
├── main.py
├── paddle.py
├── ball.py
├── scoreboard.py
└── preview.gif

How to Run

  1. Clone the repository.
git clone https://github.com/YOUR_USERNAME/Python-Pong-Game.git
  1. Open the project folder.

  2. Run the following command.

python main.py

Controls

Player Keys
Left Paddle W / S
Right Paddle Up / Down Arrow

What I Learned

  • Building a two-player game using Python.
  • Using classes to organize game components.
  • Detecting collisions between objects.
  • Managing game speed and scoring.
  • Working with the Turtle graphics module.

About

A classic Pong Game built using Python and Turtle graphics.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages