Skip to content

Al-RaoushBasel/Pong-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏓 Pong Game

Relive the Retro Arcade Experience with Python

Step back in time to the golden age of arcade games with this minimalist version of Pong. Built using Python and the Pygame library, this game brings fast-paced action to your screen. Simple to play, tough to master—challenge your friends or take on the AI to see who rules the paddle!


🚀 Features:

  • Single-Player Mode: Play against an AI opponent that automatically adjusts its paddle based on the ball's position.
  • Two-Player Gameplay: Face off against a friend in local multiplayer mode.
  • Smooth Motion: The ball and paddles move fluidly for a responsive experience.
  • Dynamic Difficulty: The ball gets faster over time, ramping up the challenge.
  • Score Tracking: On-screen scoreboard to track your progress.

🎮 How to Play:

  • Objective: Score points by getting the ball past your opponent's (or AI's) paddle.

  • Modes:

    • Single-Player Mode: Play against the AI, which automatically moves the paddle.
    • Two-Player Mode: Challenge a friend and take control of both paddles.
  • Controls:

    • Player 1 (Left Paddle / AI Paddle in Single-Player):
      • Move Up: W (Disabled in Single-Player Mode)
      • Move Down: S (Disabled in Single-Player Mode)
    • Player 2 (Right Paddle):
      • Move Up:
      • Move Down:
  • The first player to reach 10 points wins!


📦 Installation

  1. Clone the Repository

    git clone https://github.com/your-username/pong-game.git

2.Navigate to the main.py file to run the game

cd pong-game
python main.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages