Pong Using Python and Pygame (Part 1) | Creating the Ball and Paddles

Опубликовано: 01 Март 2026
на канале: Coding Spot
12,022
237

In this tutorial I will show how to code the classic Pong game using Python and it's Pygame module, by using Object-Oriented Programming (Classes and Objects). In this video we will be creating the screen, the ball and both paddles.

LINKS:
😺 GitHub Repo: https://github.com/AlejoG10/python-po...
Windows Setup:    • How to Install Python + PIP + Sublime Text...  
Mac Setup:    • How to Install Python + PIP + Sublime Text...  

FOLLOW FOR MORE:
💥 GITHUB: https://github.com/AlejoG10
💥 INSTAGRAM:   / coding_sp0t  

⏱ TIMESTAMPS ⏱
00:00 Introduction
2:07 Displaying the Screen
5:29 Screen Background
7:50 Ball Class
10:03 Ball Show Function
11:31 Creating Ball
12:59 Paddle Class
14:10 Paddle Show Function
14:38 Pygame Rectangles Explanation
16:04 Creating both Paddles
18:46 End