A simple Python-based ping pong game using the Turtle graphics library. Made as a code-along project when first learning Python. Trying to change values and testing, added scoreboard. The game features a black background with white objects, and the "ball" is represented by a square. Please note that there may be issues with the audio file "bounce.wav," so make sure it is in the same directory as the Python (.py) file.
- Use the "W" and "S" keys to move the left paddle up and down, respectively.
- Use the "Up" and "Down" arrow keys to move the right paddle up and down, respectively.
- The ball bounces off the walls and paddles.
- Scoring occurs when the ball crosses the left or right boundaries.
- The score is displayed at the top of the window, with "Pelaaja 1" representing the left player and "Pelaaja 2" representing the right player.
- Python 3.x
- Turtle graphics library
- Ensure you have Python installed on your system.
- Download the Python file (PingPong2.0.py) and the audio file (bounce.wav).
- Place both files in the same directory.
- Run the Python file to start the game.
- Player 1 (Left paddle): "W" to move up, "S" to move down.
- Player 2 (Right paddle): "Up" arrow to move up, "Down" arrow to move down.
Enjoy playing Ping Pong 2.0!