Skip to content

TenathDilusha/Pong-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏓 Pong Game (Python, Turtle)

A simple and fun implementation of the classic Pong game using Python’s turtle graphics module. The project is cleanly organized into main, ball, paddle, and scoreboard files.

🎮 Features

Classic Pong mechanics Smooth ball movement and realistic collision detection Score tracking with a dynamic scoreboard Separate Paddle, Ball, and Scoreboard classes for clean code Easy-to-customize gameplay

🕹️ Controls left player - "w" for moving up "s" for moving down right player - "Up" key for moving up "Down" key for moving down

🚀 How to Run

  1. Install Python Make sure you have Python 3.8+ installed.

  2. Clone the Repository git clone https://github.com/TenathDilusha/Pong-game.git cd Pong-game

  3. Run the Game python main.py

🧩 Requirements

This project uses Python’s built-in turtle module. No external packages required.

About

This is the classic pong game done using python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages