Skip to content

ImLJS/Pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pong Game using Python and Turtle Graphics

This is a simple implementation of the classic Pong game using Python programming language and Turtle Graphics library.

Features

  • Two player mode
  • Scores displayed on screen
  • Ball speed increases as the game progresses

Getting Started

These instructions will get you a copy of the project up and running on your local machine.

Prerequisites

To run this game, you will need to have the following installed on your computer:

  • Python 3
  • Turtle Graphics library

Installing

  1. Clone the repository or download the source code.
  2. Install the required libraries by running the following command in your terminal or command prompt:
pip install turtle

Running the game

  1. Open terminal or command prompt and navigate to the directory where the source code is located.
  2. Run the following command to start the game:
python pong.py

Playing the game

The game is a two-player game. Player 1 controls a paddle using the 'w' and 's' keys while Player 2 controls a paddle using the up and down arrow keys on their respective sides of the screen. The objective of the game is to hit the ball past your opponent's paddle and score a point. The first player to score 10 points wins the game.

Built With

  • Python 3
  • Turtle Graphics Library

About

Pong Game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages