Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 1.72 KB

README.md

File metadata and controls

53 lines (39 loc) · 1.72 KB

Pong Game

This is a simple Pong game built using Python 3.11, Turtle and winsound libraries.

Installation

To run the game, you'll need to have Python 3 installed on your computer. You can download it from the official website: Python Official Website

You'll also need to import the Turtle and windsound libraries as shown below:

For Windows users:

import turtle
import winsound

For those using MACOS and Linux you import:

import os

And how you invoke the method within your code is as below:

For MAC users

os.system("afplay sound_Name.wav&")

For Linux users

os.system("aplay sound_Name.wav&")

How to Play

The game is a two-player game. Each player controls a paddle on opposite sides of the screen, and the goal is to hit the ball past the other player's paddle.

Player A controls their paddle with the W and Z keys.
Player B controls their paddle with the O and M keys.
The game never ends.😮

pong game

Credits

This game was built by ME as a fun project to learn Python fundamentals.

Acknowledgements

Tutorial used to build the game: Youtube Video

Author

Feel free to connect with me on my socials as listed above. 😊