TRex Run in Python using Pygame

In this project, students will create a game where a dinosaur must jump over cacti and rocks.  The game is inspired by the T-Rex Runner game that appears on Google's search page when you do not have an Internet connection.

Students will write the program in Python using the Pygame library.
Format

Self-Paced Course

Level

Intermediate

Instructional Time

4 hours
29 minutes

Price

$9.99

About the course

In this project, students will create their own version of the Google T-Rex Runner game.  In that game, a dinosaur runs across a desert landscape jumping over cacti while dodging flying pterosaurs.  The program will be written in Python using the Pygame library.

This game is an example of something called an Easter Egg.  Many commercial software products contain secret features like this one – something the user would not expect to find.  In many cases, these hidden features make it easy to prove who wrote the original code if a dispute ever arises over authorship.  In this case, though, the game generally appears on the Google website if there is a problem with the Internet connection.

Course Lessons

Created with