Linux Format

Write a maze runner game in Python

This series of tutorials has seen us generate some fantastic replicas of retro video games, using Python. In past issues, we’ve create a lunar landing module game, a side-scrolling platformer, Pac-Man, Pong, the Game of Life, a bunny shooter, a racing game, and even an Angry Birds clone.

Python is one of the most versatile programming languages around. It’s incredibly high level, making it very accessible, yet it can perform complex tasks. That’s why we’re able to recreate video games that would’ve taken a tremendous amount of processing power when they were first released, in just a few lines of code and using very few resources.

This issue we’re going to create a maze runner. Maze runners were popular in the 1970s and 1980s, and tend to feature a player character, which usually consists of an oblong shape, traversing through a two-dimensional room of blockades and obstacles. Once the player reaches the other side running on the original MIT TX-0 mainframe. With Atari creating the first commercial maze game in 1973, though (Sega, 1979) and (Stern, 1980)are perhaps better remembered from this era.

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format2 min read
OBS Studio
Version: 30.0.2 Web: https://obsproject.com There are lots of good options for recording screencasts, but if you want to live-stream T your desktop, one of the best options is OBS Studio. The app works with all the major online streaming providers, s
Linux Format1 min read
Wine For Wayland
2023 was a great year for the Wayland driver for Wine. The goal was to move forward from the experimental phase and make the driver a proper upstream component. A year later, after several merge requests, many people are now already able to use the l
Linux Format2 min read
Back Issues Missed One?
ISSUE 313 April 2024 Product code: LXFDB0313 In the magazine Discover how to use the ultimate hacker’s toolkit, staying out of trouble while doing so. And join us as we take the Puppy Linux developer’s new distro for a run and explore its container

Related