Skip to content

Hamsath-Nejeeb/pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🎮 Pong - A Simple Python Game 🎮

Welcome to the Pong repository! This project features a simple pong game created using Python. It's a fun way to enjoy a classic game while honing your coding skills. You can download and execute the game from the Releases section.

Pong Game

📚 Table of Contents

🕹️ Introduction

Pong is one of the earliest arcade video games, and this project aims to recreate that experience using Python. The game allows two players to compete against each other, bouncing a ball back and forth. The objective is simple: score points by getting the ball past your opponent's paddle.

🌟 Features

  • Two-player mode: Play against a friend.
  • Simple controls: Use the keyboard to move your paddle.
  • Scoring system: Keep track of points.
  • Clean and minimalistic design.

📦 Installation

To install the game, follow these steps:

  1. Download the latest release from the Releases section.

  2. Extract the downloaded file.

  3. Open your terminal or command prompt.

  4. Navigate to the extracted folder.

  5. Run the game using Python 3:

    python pong.py

Make sure you have Python 3 installed on your system. If you don't have it yet, you can download it from the official Python website.

🎮 How to Play

  1. Launch the game as described in the installation section.
  2. The game will open in a new window.
  3. Player 1 uses the W key to move up and the S key to move down.
  4. Player 2 uses the Up Arrow key to move up and the Down Arrow key to move down.
  5. The game starts automatically. The first player to reach 10 points wins!

🛠️ Technologies Used

  • Python 3: The programming language used to develop the game.
  • Pygame: A set of Python modules designed for writing video games. It provides functionalities like graphics, sound, and event handling.

🤝 Contributing

Contributions are welcome! If you want to improve the game or add features, feel free to fork the repository and submit a pull request. Here’s how you can contribute:

  1. Fork the repository.
  2. Create a new branch for your feature or fix.
  3. Make your changes and commit them.
  4. Push your changes to your forked repository.
  5. Submit a pull request.

Please ensure your code follows the existing style and is well-documented.

📄 License

This project is licensed under the MIT License. You can use, modify, and distribute the code as long as you include the original license.

📬 Contact

For any questions or feedback, feel free to reach out:

Thank you for checking out the Pong game! Enjoy playing and coding! For the latest updates, visit the Releases section.