Creating the Bounce Game with Tkinter

Learn how to create a bounce game where a user has to bounce a ball on a paddle for as long as possible.

TECHNOLOGIES

Tkinter

WATCH TIME

58 minutes

Lessons

Adding the Game Interface

In this video, we'll add our initial boundary objects in order to stop the ball from moving off the screen. We create constraints and implement a check to see if a ball as gone beyond a certain point.

14 min

Adding the Paddle

In this video, we'll continue working on our bounce game by creating our paddle with controls to move the paddle left and right. We'll also use focus to avoid having to click the screen to use the pad...

10 min

Creating our Ball

We'll start building our bounce game where a user has to bounce a ball on a paddle for as long as possible. We'll start with a moving ball using the Tkinter module.

13 min

Bounce Game Final Touches

So far, we've built our ball and paddle. Next, we'll find out when the ball hits the paddle and control the direction of the ball. After this video, you'll a fully functional game.

18 min

Bounce Game Recap

You've finished creating the bounce game. Here's a quick recap on what we've built and how we did it. We'll read our code and explain each concept briefly once again.

5 min

Hey! I’m Avi, and I’ll teach you how to build!

I'm Avi, your new Python instructor and founder of The Codex.

Three years ago I was stuck. I wasn’t learning anything in my theory-filled CS classes, my friends took pictures of me sleeping in lecture, and I was questioning why I was even learning CS to begin with. I had ideas but I was clueless on execution.

After watching hours of webcasted YouTube videos, enrolling in course after course, and struggling to stay motivated, I finally obtained the skills to bring my ideas to life. I realized how lonely and gruesome this process was.

If you’re a student just like me, you know exactly what it’s like to be stuck in course hell. The best programmers of today learned by doing, not by reading syntax in a textbook.

Join The Codex. Become a creator.

Savvy Students ❤️ The Codex

The Codex has helped hundreds of students find jobs and build their dream projects.

"CS classes at UW were overwhelming and full of theory. Through The Codex, I realized the power of Python programming, built numerous projects for my resume and ultimately landed an internship at Amazon."
Arjun Malhotra
University of Washington, 2022
SDE Internship, Amazon

Ready to dive in? Start learning today.