Skip to content

spl3ndid/ping-pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pong Game

A classic Pong game implemented using Python and the Pygame library.

Game Screenshot

Table of Contents

Description

This project is a simple implementation of the classic Pong game using Python and the Pygame library. It features a player-controlled paddle, an AI-controlled opponent paddle, and a ball that bounces between them.

Features

  • Player-controlled paddle
  • AI opponent paddle
  • Ball bouncing mechanics
  • Scoring system
  • Game over screen when a player reaches a score of 10
  • Sound effects for ball hits and game over

Installation

  1. Clone the repository using the following command: git clone https://github.com/spl3ndid/ping-pong.git
  2. Navigate to the project directory: cd ping-pong
  3. Install the required dependencies using pip: pip install pygame

Usage

  1. Run the game using the following command: python main.py

  2. Play the game using the controls mentioned in the next section.

Controls

  • Player Paddle: Use the UP and DOWN arrow keys to move the player paddle up and down, respectively.

Dependencies

  • Python
  • Pygame

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages