Escape Room Program – Part 2: making decisions

Part Two Introduction:

These pages follow on from Part One and show you how to add to a basic text-based adventure game using a programming language called Python.

My game is an escape room with some riddles that the player has to solve to escape. The theme isn't that important though – it's the programming ideas that are the key thing in all of this.

If you've not done Part One yet, you probably need to start there.

Idle menu helper imageOpening your Python file

You should have a file saved from Part One. It might be called something like escape and should be saved in your OneDrive.

  1. Open All Programs and find the Python 3.8 folder
  2. Open IDLE (Python 3.8 64-bit)
  3. IMPORTANT – click File > Open, find your Python file and open it.

If you've lost your Part One file or didn't complete all of it, there is a file you can copy.

Text file iconClick to open the text file

You'll need to copy the code into a new Python window. Save the file and run it to check that it works.

Ask for help if you need it...