Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 907 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 907 Bytes

Ping Pong Game

Welcome to the Ping Pong Game! This is a classic two-player game where players control paddles to hit a ball back and forth across the screen. The objective is to prevent the ball from hitting the edges of the screen.

Screenshot from 2024-04-10 11-26-38

Controls

Player 1:

  • Move paddle up: Press "w"
  • Move paddle down: Press "s"

Player 2:

  • Move paddle up: Press Up Arrow
  • Move paddle down: Press Down Arrow

General Controls:

  • Pause game: Press Space
  • Reset game: Press "r"

Installation

To run this game, you need to have the turtle module installed. If you don't have it installed, you can install it using pip:

pip install turtle

Usage

To start the game, simply run the following command in your terminal:

python main.py