Skip to content

F-Fer/Pong-in-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Simple Pong Game

Description

This is a simple implementation of the classic Pong game using the Turtle graphics library in Python. The game features two paddles controlled by the players and a bouncing ball. The objective is to hit the ball with the paddles and score points by making the ball pass the opponent's paddle.

Installation

Make sure you have Python installed on your system. To run the game, execute the following command in your terminal or command prompt:

python pong_game.py

Controls

Player A:

  • Move Up: w key
  • Move Down: s key

Player B:

  • Move Up: Up arrow key
  • Move Down: Down arrow key

Rules

  • The game starts with the ball moving towards Player B.
  • Players control their paddles to hit the ball and prevent it from passing their side.
  • If the ball passes Player A's paddle, Player B scores a point, and vice versa.
  • The game ends after a set number of points or can be played indefinitely.

Dependencies

This game uses the Turtle graphics library, which is included in the Python standard library. No additional dependencies are required.

Acknowledgments

This Pong game is a simple project created for educational purposes. It was inspired by the classic Pong arcade game.

Feel free to modify and enhance the code to add more features and improve the gameplay experience. Enjoy playing Pong!

About

A simple pong game implemented using python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages