A simple Ping Pong game developed in python using pygame and trutle graphics.
This is a basic Pong game built using Python. It uses the turtle module for graphics and pygame to control the game’s speed. The project includes two paddles, a moving ball, collision detection, and a simple scoreboard.
1- Smooth ball movement with FPS control 2- Keyboard controls for both paddles 3- Score updates shown at the top of the screen 4- Basic collision handling for walls and paddles
Player 1:
- W to Move up
- S to Move down
Player 2:
- Up Arrow to Move up
- Down Arrow to Move down
Make sure Python is installed.
- Install pygame: pip install pygame
- Run the script: python pong.py
The project is simple, easy to understand, and a good starting point for learning how game loops, keyboard input, and collision logic work in Python.