This is a simple Pong game built using Python 3.11, Turtle and winsound libraries.
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:
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:
os.system("afplay sound_Name.wav&")
os.system("aplay sound_Name.wav&")
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.😮
This game was built by ME as a fun project to learn Python fundamentals.
Tutorial used to build the game: Youtube Video