Linux Format

Developing Noughts and Crosses in Python

OUR EXPERT

Calvin Robinson is a former assistant principal and computer science teacher with a degree in computer games design and programming.

During this series of tutorials we’ve been using Python to develop a range of retro video games. Python is an incredibly versatile high-level programming language with a relatively simple syntax; it suits our needs.

Over the past few issues we’ve built a lunar space module landing game, a side-scrolling platformer, Pac-Man, the Game of Life and a 2D shooter. This issue we’ll build a very recognisable minigame, with challenges for those who want to take things a step further.

Before we begin, we’ll need to make sure we have the latest version of Python 3 installed. For everyone running a Debian-based distro this is as simple as sudo apt-get install python3 , after a brief sudo apt-get update , of course.

The beauty of Python is that we can use any text-based editor to work in: , , and so on.

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

More from Linux Format

Linux Format2 min read
Patool
Version: 2.2.0 Web: https://wummel. github.io/patool/ TAR, TAR.GZ, ZIP and 7ZIP are just some of the endless list of archiving formats you’ll run into on a fairly regular basis on the Linux desktop. What makes working with them even more complicated
Linux Format4 min read
Mailserver
Do you have a burning Linuxrelated issue that you want to discuss? Write to us at Linux Format, Future Publishing, Quay House, The Ambury, Bath, BA1 1UA or email letters@ linuxformat.com. In the password manager article (Roundup, LXF312), it stated t
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

Related