Skip to content

Pong is a two-dimensional sports game that simulates table tennis. The player controls an in-game paddle by moving it vertically across the left or right side of the screen. They can compete against another player controlling a second paddle on the opposing side. Players use the paddles to hit a ball back and forth.

Notifications You must be signed in to change notification settings

cyberxploithausa/Pong-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python Pong Game

Welcome to the Python Pong Game repository! This project is a simple implementation of the classic Pong game using Python. Have fun playing and exploring the code.

Pong Game Screenshot

Table of Contents

About the Game

Pong is a classic arcade game where two players control paddles on opposite sides of the screen. The objective is to score points by bouncing a ball back and forth between the paddles. This project recreates that nostalgic gameplay in Python.

How to Play

  • Player 1 (left paddle) controls: W (up) and S (down).
  • Player 2 (right paddle) controls: Up arrow (up) and Down arrow (down).

The game continues until one player reaches the score limit (typically 5 or 10).

Getting Started

To run the Pong game locally or explore the code, follow these steps:

  1. Clone this repository to your local machine:

    git clone https://github.com/cyberxploithausa/Pong-Game.git
    cd Pong-Game
    python pong.py

Enjoy the game and feel free to explore the code to understand how it works!

Contributing

Contributions are welcome! If you'd like to enhance the game, fix bugs, or add new features, please follow these guidelines:

  1. Fork this repository.
  2. Create a new branch for your changes: git checkout -b feature/your-feature-name
  3. Make your changes and test them thoroughly.
  4. Commit your changes: git commit -m "Add your message here"
  5. Push your changes to your forked repository: git push origin feature/your-feature-name
  6. Create a pull request (PR) describing your changes. Please maintain clear and concise code, and ensure the game remains user-friendly.

License

This project is licensed under the MIT License. Feel free to use the code as a reference, modify it, or share it with others.

About

Pong is a two-dimensional sports game that simulates table tennis. The player controls an in-game paddle by moving it vertically across the left or right side of the screen. They can compete against another player controlling a second paddle on the opposing side. Players use the paddles to hit a ball back and forth.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages