© Stewart Watkiss 2020
S. WatkissBeginning Game Programming with Pygame Zerohttps://doi.org/10.1007/978-1-4842-5650-3_2

2. Getting Started with Python

Stewart Watkiss1 
(1)
Redditch, UK
 

To get started with programming Python, this chapter begins with some basic command-line programming. This will create a simple text-based game that can be played using the keyboard. This is only the beginning; from the next chapter onward, you will be able to create graphical games that are fun to play.

Using the Mu Editor

When you first start the editor, it will ask you which mode to start in. The modes that you will use for the projects in this book are Python 3 and Pygame Zero. If you have already run the editor before, then it will start in the mode last used, in ...

Get Beginning Game Programming with Pygame Zero: Coding Interactive Games on Raspberry Pi Using Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.