Create Buttons in Tkinter

Originally, the plan for this tutorial was to continue talking about layouts and the different layout managers in Tkinter. I was also going to include the Button widget. But then I started writing the tutorial and it was so jam-packed that I decided to separate them to make things much easier. So today let’s learn about a new and important widget, the Button widget. By the end of this tutorial,

Use Tkinter to Design GUI Layout

Today’s tutorial might be a short, but very important, one when it comes to making a GUI: the layout. Previously, we talked about the basics of getting started with Tkinter – creating the window, and creating a Label to display text or images. However, I found that the layout of the window needed some work as boxes and images didn’t look very organized. So rather than teaching about Buttons or

Create a Plan to Learn Machine Learning

Today’s post is coming after a brief break from blogging. I had to focus on research for a bit and think about the direction of Red Huli. While this post isn’t a tutorial, I’d like to share my plan with all of you for this site. During my time studying AI and robotics I read numerous books, blogs, or tutorials. I often found myself really wanting to be able to

My Experience Designing a One Day Science and Technology Camp

Last month, I had a friend approach me with an amazing offer. My friend is definitely a very outgoing person, and long story short, she wanted me to help her design a one day science and technology camp for some really awesome children. The task: Design a creative and educational camp that would introduce children to robotics through Project Based Learning (PBL) and Problem Based Learning (PBL), and allow them

Creating a Game in Pygame: Health, Score and Lives

After completing today’s tutorial we will have finished a lot of loose ends in the space shooter. Every game has some kind of display or system to tell the player their current status, such as their health or strength, and some kind of reward system, displaying a score or even giving actual rewards for achieving some goal. These are all used as a way to give the player feedback about

Creating a Game in Pygame: Animating Sprites

There is something magical about animation. Seeing each still image assembled on top of one another with ever so slight variations to create the illusion of movement. And then playing those animations at higher speeds to create a moving picture. I still remember my first game was just a square that could move, but the first time I made it move I knew I loved game making and programming. Today,

Creating a Game in Pygame: Collision Detection and Player Attacks

I finished the last post and got super excited to just keep going today. To recap what we have done so far, we have created our space environment and background, loaded our player’s spaceship and added movement, and made two different kinds of enemies for our player, asteroids and enemy space fighters. Let’s get right into the next tutorial and finally give our player a way to fight back! In