Skip to content

A classic Pong game implemented in Python using the turtle module. Play with two paddles, a bouncing ball, and a simple scoring system for a nostalgic arcade experience.

Notifications You must be signed in to change notification settings

RahemShakeel/Pong-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pong-Game

A simple implementation of the classic Pong game using Python's turtle graphics module. This game features a graphical representation of Pong with two paddles, a ball, and a scoreboard to keep track of the points.

Features

  • Two paddles controlled by the keyboard
  • A ball that bounces off the paddles and the screen edges
  • Scoring system to keep track of points
  • Real-time updates and smooth gameplay

Controls

  • Up Arrow: Move the right paddle up
  • Down Arrow: Move the right paddle down
  • W: Move the left paddle up
  • S: Move the left paddle down

Code Structure

  • main.py: The main script that initializes and runs the game.
  • paddle.py: Defines the Paddle class which handles paddle behavior.
  • ball.py: Defines the Ball class which handles ball movement and collisions.
  • scoreboard.py: Defines the Score class which handles score tracking and display.

Contributing

Contributions are welcome! If you have suggestions or improvements, please feel free to open an issue or submit a pull request.

Acknowledgements

  • Python's turtle graphics module for the simple graphical interface.
  • The classic Pong game for inspiring this project.

About

A classic Pong game implemented in Python using the turtle module. Play with two paddles, a bouncing ball, and a simple scoring system for a nostalgic arcade experience.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages