pong-wars-python
pong-wars-python copied to clipboard
Python version of Pong Wars with Pygame
trafficstars
Pong Wars
Description
Pong Wars is a colorful and dynamic variation of the classic Pong game implemented in Python using Pygame. In this game, two balls compete to fill the game area with their respective colors.
The current version of the game supports two modes: 2 players and 4 players.
Dependencies
The project requires Python along with the following libraries:
pip install pygame moviepy natsort
Usage
python 2_players.py
python 4_players.py
Options
args:
-- record_frames: record frames for video and makes a gif
-- seed: seed for random number generator
Credits
- This code is inspired by Koen van Gilst's JavaScript implementation of Pong Wars
- Relevant Hacker News discussion: Show HN: Pong Wars – A colorful and dynamic variation of the classic Pong game
What's next?
- Build Gymnasium environment for Pong Wars to train RL agents