Classic Pong is a nostalgic and minimalistic take on the iconic Pong game, implemented in Pygame with a pixelated 1-bit style. The game features basic sound effects, easy controls, and the ability to restart for endless fun.
-
Pixelated 1-bit Style: Experience the classic Pong game with a charming pixelated aesthetic.
-
Basic Sound Effects: Enjoy simple yet satisfying sound effects that enhance the gaming experience.
-
Simple Controls: Navigate the paddles effortlessly with easy-to-use controls.
-
Game Restarts: Restart the game at any time for continuous fun without interruptions.
pong_demp.mp4
- Keyboard Movements: Use the keyboard controls to move the paddles.
- Basic Ball Collision: Experience realistic ball collisions with the paddles and boundaries.
- Score Tracking: Keep track of each player's score throughout the game.
- Game Win/Lose Conditions: Determine the game's end conditions based on scores.
- Basic Sound Effects: Add sound effects to key game events for an immersive experience.
- Start By Clicking Space Button: Begin the game by clicking the space button, ensuring a smooth start.
- Sprites Class: Utilize the Sprites class for managing game elements efficiently.
- Start Menu: Implement a start menu for a more polished and user-friendly experience.
- End Menu: Create an end menu to provide players with a clear conclusion to each game.
- Controls for Vim Geeks: Cater to Vim enthusiasts by incorporating controls such as 'k' (up) and 'j' (down).
-
- Move Up: W, Key Up, K
- Move Down: S, Key Down, J
-
- Quit: Esc
- Start/Restart: Space
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/VladyslavStolbov/pong
-
Navigate to the project folder:
cd pong/
-
Create a virtual environment (optional but recommended):
python -m venv venv
-
Activate the virtual environment:
-
On Windows:
venv\Scripts\activate
-
On macOS/Linux:
source venv/bin/activate
-
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the code from the directory:
python3 pong/
This project is licensed under the MIT License