Interactive Fiction in Python Part III

You see an amulet!If you haven't read the introduction to this Interactive Fiction project in Python, or Part I, or Part II,  now would be a good time to do so! In our last installment, we learned how to use Python classes to create rooms in our virtual world that we could move around. In this installment, we are going to use the same feature, classes, to create items in our game that we can interact with.

Interactive Fiction in Python Part II

Move!If you haven't read the introduction to this Interactive Fiction project in Python, now would be a good time to do so! In our last installment, we set up our basic framework for our text adventure including creating a header, setting a location for our character, getting a command from the user, and setting up our main game loop.
 
In this installment, we will look at how to create the actual game world using classes.

Interactive Fiction in Python Part I

InventoryIn a recent blog post, I talked about the early days of computer gaming and the then-popular genre of Interactive Fiction, also popularly known as text adventures.  As promised, here is the first part in a tutorial series on how to create a simple text adventure in Python. 

Interactive Fiction in Python Introduction

Zork I "You are in a maze of twisty little passages, all alike..." As a middle school student with a love of reading and an active imagination, the words on the screen conjured up visions of monsters, treasure, and danger...all with just a little text.

@TokyoEdTech

Poll

What LMS does your school use?: