VOOZH about

URL: https://www.geeksforgeeks.org/python/create-pong-game-using-python-turtle/

⇱ Create pong game using Python - Turtle - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Create pong game using Python - Turtle

Last Updated : 15 Jul, 2025

Pong is one of the most famous arcade games, simulating table tennis. Each player controls a paddle in the game by dragging it vertically across the screen's left or right side. Players use their paddles to strike back and forth on the ball. Turtle is an inbuilt graphic module in Python. It uses a panel and pen to depict illustrations. 

Below are the steps used:

  • Step 1) Create two paddles A and B on the left and right side of the screen.
  • Step 2) Create a ball.
  • Step 3) Create an event to move the paddle vertically on pressing a certain key.
  • Step 4) Create the function to update the score after each player misses a collision.

Below is the program to create Paddle and Ball:

Output:

👁 Image

Below is the complete python program to create pong game using turtle library.

Output:

Comment
Article Tags: