Category Archives: Make Python Game

How to install pygame

Installing pygame can be tricky. The instructions here lead you through what you need to do.   Some pointers to reiterate: Pygame is very particular about the version of python. You need to have the same version of python that your pygame build  is targeted for.   The highlighted pygame build above is intended for python 2.5 32 … Continue reading How to install pygame →

Troubleshooting Bugs (Part 1): Logging in Python 3

Introduction At the end of the last lesson, we encountered a run time error in our program. In this lesson we will learn some techniques to understand and track what our program is doing and help us to identify and fix errors. This is a two parter. Part 1 is on logging. Part 2 is … Continue reading Troubleshooting Bugs (Part 1): Logging in Python 3 →

Input from the Command Line and Files with Python 3

Introduction So far we’ve been covering how to print messages to the console. This is useful for displaying information to your user and logging what is happening in your program. Sometimes you need to receive input from the user as well. Again we will revisit the example of a video game. Last time we made … Continue reading Input from the Command Line and Files with Python 3 →