Pong made in python
hyper-pong is a two-player arcade game where players control paddles to hit a ball back and forth. The game includes sound effects, background music, and colorful graphics. Score points by getting the ball past your opponent's paddle!
- Two-player local gameplay
- Sound effects and background music
- Colorful graphics with distinct paddles
- Score tracking
- Game state management (menu, gameplay, end screen)
- Python 3.11 or later (recommended, tested with Python 3.11)
- pygame
- imageio
-
Clone this repository:
git clone https://github.com/yourusername/hyper-pong.git cd hyper-pong -
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install pygame imageio
Run the game using:
python simple_pong.py-
Player 1 (Pink Paddle - Left):
- W: Move Up
- S: Move Down
-
Player 2 (Blue Paddle - Right):
- Up Arrow: Move Up
- Down Arrow: Move Down
-
Game Controls:
- SPACE: Start a new game
- ESC: Return to menu
- Close Window: Quit game
- The game is played to 5 points
- Score a point when the ball passes your opponent's paddle
- The ball speeds up during rallies
- The first player to reach 5 points wins
hyper-pong/
├── simple_pong.py # Main game file
├── assets/ # Game assets
│ ├── audio/ # Audio files
│ │ ├── music/ # Background music
│ │ └── sfx/ # Sound effects
│ └── images/ # Game images
├── venv/ # Virtual environment (not tracked in git)
└── README.md # This file
- Sound effects: Audio assets used under permissive licenses
- Original Pong concept by Atari
- Developed by Daniel Semmelmann
This project is licensed under the MIT License - see the LICENSE file for details.
