Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.82 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.82 KB

Ping-Pong using Turtle

Welcome to Ping Pong, a classic two-player game implemented using the Turtle graphics library in Python. Compete against your friend and see who can score the most points!

Screenshots

Capture

Capture3

Instructions:

  1. Player Names:

    • Enter the names of Player 1 and Player 2 when prompted at the start of the game.
  2. Controls:

    • Player 1 (Right Paddle): Use the "Up" arrow to move up and the "Down" arrow to move down.
    • Player 2 (Left Paddle): Use "W" to move up and "S" to move down.
  3. Scoring:

    • Score points by successfully hitting the ball past your opponent's paddle.
    • The first player to reach 50 points triggers an increase in the game's difficulty level.

Game Features:

  • Score Display:

    • The current scores of both players are displayed at the top of the screen.
  • Sound Effects:

    • Enjoy paddle collision and scoring sound effects to enhance the gaming experience.
  • Dynamic Difficulty:

    • As players accumulate points, the game's difficulty level increases, making it more challenging.

Dependencies:

  • This game requires the winsound library for sound effects which is available on windows OS.

Game Logic:

  • The ball moves across the screen, bouncing off paddles and walls.
  • Players score points when the ball passes their opponent's paddle.
  • Sound effects play on paddle collisions and scoring.

Notes:

  • Have fun playing this classic Pong game!
  • Feel free to customize and improve the game to add more features.
  • To exit the game, click on the game window.

Enjoy the game! If you have any suggestions or feedback, feel free to let me know.