Skip to content

it is the same game, ATARI made it in 1972, I did it in 2024.

License

Notifications You must be signed in to change notification settings

iamrishigandhi/pingpong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Ping Pong Game

This repository contains a simple implementation of a classic Ping Pong game using Python and the Pygame library.

Getting Started

Prerequisites

  • Python 3
  • Pip (Python package installer)

Installation

  1. Clone the repository:

    git clone https://github.com/iamrishigandhi/pingpong
  2. Install dependencies (Pygame):

    pip install pygame

Usage

Run the game using the following command:

python pingpong.py

Use the UP and DOWN arrow keys to control your paddle. The opponent paddle will automatically follow the ball.

Customization

Feel free to customize the game according to your preferences:

  • Adjust game constants in the code (e.g., window dimensions, paddle sizes).
  • Enhance game features, such as scoring, sound effects, or advanced AI.
  • Add additional visual elements or game mechanics.

Contributing

Contributions are welcome! If you have any ideas for improvement, bug fixes, or new features, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

About

it is the same game, ATARI made it in 1972, I did it in 2024.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages