Simple Python Game

28,320

27

10

Introduction: Simple Python Game

About: My name is Zach Sousa and I'm a Canadian highschool student that has a passion for making.

Will be deleted soon

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Null

Null

Step 2: Null

Be the First to Share

    Recommendations

    • Magnets Challenge

      Magnets Challenge
    • Raspberry Pi Contest 2020

      Raspberry Pi Contest 2020
    • Wearables Contest

      Wearables Contest

    10 Discussions

    0
    NocturnalN
    NocturnalN

    3 years ago

    There's no indenting on this, so here is a link to a pastebin I made where is fixed it to the best of my (rushed) abilities. At the end, it also called the main_room function twice, which I deleted. Note: I haven't tested this, and I probably didn't indent an if statement correctly somewhere.

    0
    NocturnalN
    NocturnalN

    Reply 3 years ago

    p.s if you were confused as to why this wasn't working correctly, you should probably learn more about python before attempting a project like this.

    0
    Zach Sousa
    Zach Sousa

    Reply 3 years ago

    I posted this project over two years ago, I have no reason to update this as the IDLE gets updated. This was working when this was originally posted, but I have no intent on finding out why it doesn't work and will simply delete it instead.

    0
    NofilQ
    NofilQ

    3 years ago

    Yeah you have an unexpected indent block on line 14. You gotta fix it

    0
    rbxii3
    rbxii3

    4 years ago on Introduction

    this line has errors:

    # Display their options. print( " You can do the following things:\n" " * 'd' - Drink the potion.\n" " * 't' - Take the potion and put it in your inventory.\n" " * 'r' - Return to the main room.")choice = input("What do you do, explorer?: ") if choice == 'd':
    0
    RyanM12
    RyanM12

    4 years ago on Introduction

    I cannot seem too be able to save it because there is an error saying Main_Room not defined can you help me with that?

    0
    ShaheenN
    ShaheenN

    5 years ago on Introduction

    hi i have tried this in 3.3.3 it does not seem to work can you tell me what version you have done this in? or how i could make it work in 3.3.3