Uploaded June 2026 | Updated September 2026, 2 weeks ago
In this CODE Along module, the focus is on gaming specifically building a game with Python. In this episode, you will learn how to create a "Falling Objects" game from scratch using the Pygame library. Follow along as we program a player to catch healthy food, dodge junk food, and race against a 60-second clock. You'll master essential game development concepts like collision detection, randomizing object movement, and creating a game loop the "heartbeat" of any video game.
Skip to the good stuff:
0:00 Introduction
0:34 Game Objective6
0:49 Setting up on Replit
1:57 Creating Game Variables
3:03 Adding Healthy and Junk Food Lists
4:31 Using Comments in Python
5:16 Formatting the Timer and Health Display
5:29 Defining Functions with def
6:24 Collision Detection
7:46 Activating Starter Code
8:30 Creating an Instruction Screen
9:08 Digital Colors with RGB Values
10:22 The Game Loop and Player Movement
11:37 Game Demo and Final Results
Missed a line of code? No worries! View the CODE Along Cheat Sheet here: tiny.url/bgccheatsheet
Want more? Sign up to join Black Girls CODE's community at community.wearebgc.org
Support Our Non-Profit Mission
----------------------------------------------
Support us: donorbox.org/blackgirlscode
Check out our merch: wearebgc.org/merch
----------------------------------------------
Connect With Us
----------------------------------------------
Peep us on Instagram: instagram.com/blackgirlscode
Follow us on Facebook: facebook.com/BlackGirlsCodeOrg
Share our content on TikTok: tiktok.com/@blackgirlscode
Find us on Twitter: https://x.com/BlackGirlsCode
Send us a message: wearebgc.org/connect-with-us
About CODE Along
Everyone is invited to CODE Along with Black Girls CODE. It's a free, video-based coding academy where Black girls, young women, and students of all genders receive tangible, educational, and entertaining tutorials to help incite interest in computer science and technology. With fun and impactful projects and simple step-by-step lessons, this series encourages you to code along while our expert coders make digital art, animated art, and build games. In these 15 minutes or less episodes, CODE Along is designed to reach millions of underrepresented girls and arm them with the tech skills and confidence they need to build brighter futures.
#howtocode #blackgirlscode #python #pygame #codingtutorial #codealong #gamedevelopment
In this CODE Along module, the focus is on gaming specifically building a game with Python. In this episode, you will learn how to create a "Falling Objects" game from scratch using the Pygame library. Follow along as we program a player to catch healthy food, dodge junk food, and race against a 60-second clock. You'll master essential game development concepts like collision detection, randomizing object movement, and creating a game loop the "heartbeat" of any video game.
Skip to the good stuff:
0:00 Introduction
0:34 Game Objective6
0:49 Setting up on Replit
1:57 Creating Game Variables
3:03 Adding Healthy and Junk Food Lists
4:31 Using Comments in Python
5:16 Formatting the Timer and Health Display
5:29 Defining Functions with def
6:24 Collision Detection
7:46 Activating Starter Code
8:30 Creating an Instruction Screen
9:08 Digital Colors with RGB Values
10:22 The Game Loop and Player Movement
11:37 Game Demo and Final Results
Missed a line of code? No worries! View the CODE Along Cheat Sheet here: tiny.url/bgccheatsheet
Want more? Sign up to join Black Girls CODE's community at community.wearebgc.org
Support Our Non-Profit Mission
----------------------------------------------
Support us: donorbox.org/blackgirlscode
Check out our merch: wearebgc.org/merch
----------------------------------------------
Connect With Us
----------------------------------------------
Peep us on Instagram: instagram.com/blackgirlscode
Follow us on Facebook: facebook.com/BlackGirlsCodeOrg
Share our content on TikTok: tiktok.com/@blackgirlscode
Find us on Twitter: https://x.com/BlackGirlsCode
Send us a message: wearebgc.org/connect-with-us
About CODE Along
Everyone is invited to CODE Along with Black Girls CODE. It's a free, video-based coding academy where Black girls, young women, and students of all genders receive tangible, educational, and entertaining tutorials to help incite interest in computer science and technology. With fun and impactful projects and simple step-by-step lessons, this series encourages you to code along while our expert coders make digital art, animated art, and build games. In these 15 minutes or less episodes, CODE Along is designed to reach millions of underrepresented girls and arm them with the tech skills and confidence they need to build brighter futures.
#howtocode #blackgirlscode #python #pygame #codingtutorial #codealong #gamedevelopment










