Skip to content

A classic Pong game built with Python's turtle graphics library. Players control paddles to hit a ball back and forth, aiming to score points by getting the ball past the opponent's paddle. The game features score tracking, paddle movement, and ball bouncing mechanics.

Notifications You must be signed in to change notification settings

harishrajT/pingponggame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ping Pong Game

This is a simple recreation of the classic Pong game built using Python's Turtle graphics library. The game features two paddles and a ball, allowing two players to control the paddles and score points when the ball passes their opponent's paddle.

Features

  • Two Player Controls:

    • The right paddle is controlled using the Up and Down arrow keys.
    • The left paddle is controlled using the "W" and "S" keys.
  • Ball Movement:

    • The ball bounces off the paddles and the top and bottom walls.
    • If the ball passes a paddle, the opposing player scores a point.
  • Scoreboard:

    • Tracks and displays the scores of both players in real-time.
    • The game resets the ball position after a point is scored, and the ball speeds up after each paddle hit.

Requirements

  • Python 3.x
  • Turtle graphics library (pre-installed with Python)

How to Run

  1. Clone the repository or download the code files.
  2. Run the pingponggame.py script using Python:
    python pingponggame.py
    

About

A classic Pong game built with Python's turtle graphics library. Players control paddles to hit a ball back and forth, aiming to score points by getting the ball past the opponent's paddle. The game features score tracking, paddle movement, and ball bouncing mechanics.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages