How to Make a Brick Breaker Game In Python!

LeMaster Tech
LeMaster Tech
183 followers
112 Video Views·Apr 21, 2025

In This Video I Challenge myself to make as complete a brick breaking 'breakout' game as I can using Python and PyGame in under an hour. This style of video shows what real time troubleshooting and error debugging looks and feels like while creating complex games!

Be sure to subscribe, and check out the rest of the channel here:
https://www.youtube.com/channel/UCV5Ab39YnXvTZ6Grar9URxQ
Link to the GitHub with the code here:
https://github.com/plemaster01/LeMasterTechYT
Thanks to @TechWithTim for the inspiration, check out his Minesweeper challenge here:
https://www.youtube.com/watch?v=RRYgc4YIhEs&t=176s

Timestamps!
00:00 Intro + Explaining the Challenge
01:34 Start Setting Up Pygame
4:30 Drawing the player, ball and board
11:00 Adding Controls for Movement
17:01 Checking for Ball Collision with Paddle and Bricks
24:15 Check the direction of collision
30:13 Add Game Over Conditions + Enhance the Controls
34:43 Adding Scoring
37:00 Collide With the Ceiling and Resetting on victory
41:00 Generate random boards every game
46:45 Improving Collision
48:40 Style Upgrade the Game
53:50 Outro