This is a Pong clone I wrote back in 2019 during the last months of high school as one of my first real coding projects.
It was my way to approach programming by mixing two passions: videogames and coding 🎮.
👉 Download Linux executable
- Classic Pong gameplay with two paddles and a bouncing ball
- Single-player mode: play against a basic AI-controlled paddle
- Multiplayer mode: two players on the same keyboard
- Start screen: select game mode before playing
- Score system with configurable goal (default: 5 points)
- Victory screen ("Congratulazioni!") when a player wins
- Background music and sound effects using
pygame.mixer
- Arrow Up / Down → Move your paddle
- The second paddle is controlled automatically
- W / S → Move left paddle
- Arrow Up / Down → Move right paddle
.
├── pong.py # Main game file
├── pong_musica.mp3 # Background music
├── pong_schermata_iniziale.mp3 # Intro screen music
└── README.md # Project description
- Python 3.x
pygamelibrary
Install pygame with:
pip install pygameFrom terminal:
python pong.pyThen select single-player or multiplayer mode on the start screen and play!
- A ball starts bouncing in the middle of the screen.
- Players move paddles to prevent the ball from going out of bounds.
- Each time a player misses, the opponent gains a point.
- The first player to reach the goal score (default: 5) wins the game.
- Better ball behaviour
- Add sounds for paddle/ball collisions
- Improve the "congratulations" victory screen
👉 This project is special to me because it represents my first step into programming: building a classic game from scratch while learning Python, back in 2019.

