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.
The project requires Python along with the following libraries:
pip install pygame moviepy natsort
python 2_players.py
python 4_players.py
args:
-- record_frames: record frames for video and makes a gif
-- seed: seed for random number generator
- 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
- Build Gymnasium environment for Pong Wars to train RL agents