Python Tutorial – Text Based Game Part 1

///Python Tutorial – Text Based Game Part 1

Python Tutorial – Text Based Game Part 1

FavoriteLoadingAdd to favorites

This is my Tutorial on Creating a Simple, Easy and Fun Text based game in Python. The Methord is simple and if you are just starting out this tutorial is perfect for you.

If you liked this video, please rate and subscribe, and feedback (Pros or Cons) are welcome

Please Enjoy anyhow!

Python Download:

source

By |2020-05-14T03:36:12+00:00May 14th, 2020|Python Video Tutorials|22 Comments

22 Comments

  1. Blue King May 14, 2020 at 3:36 am - Reply

    By the way dude your video was shown to my class to teach us about python codding. Thank you for all the really good explanations.

  2. Spectre. May 14, 2020 at 3:36 am - Reply

    Guys they changed it from raw_input() to input().

  3. GhastlyFractions May 14, 2020 at 3:36 am - Reply

    it's saying 'elif' is an invalid syntax?

  4. Dhamaka G May 14, 2020 at 3:36 am - Reply

    def prompt_sta () :
    prompt _0 = raw_input ('Type a Command: ')
    I get invalid stynx error and the colon is highlighted is there something wrong in it.

  5. Mohammad Raza May 14, 2020 at 3:36 am - Reply

    I literally followed it to the T and nothing is working….. not even the first sentence is coming up

  6. Sam Dream May 14, 2020 at 3:36 am - Reply

    heres wat its saying for me

    Traceback (most recent call last):
    File "C:UsersGamingDreamAppDataLocalProgramsPythonPython35-32Fututrea.py", line 27, in <module>
    start ()
    File "C:UsersGamingDreamAppDataLocalProgramsPythonPython35-32Fututrea.py", line 5, in start
    promt_sta ()
    File "C:UsersGamingDreamAppDataLocalProgramsPythonPython35-32Fututrea.py", line 8, in promt_sta
    prompt_0 = raw_input ('type a command: ')
    NameError: name 'raw_input' is not defined

  7. one curry boi May 14, 2020 at 3:36 am - Reply

    I get a syntax error and it is near the start of the code.
    def prompt_sta ():
    promt_0 = raw_input ('Type a command: ')
    Is there anything wrong?

  8. Jason Pack May 14, 2020 at 3:36 am - Reply

    how are you defining something after you use it? like prompt_sta and outside_house?

  9. Ted Wilson May 14, 2020 at 3:36 am - Reply

    Thank you very much, your four videos helped me tremendously! 😀

  10. Siddharth Parekh May 14, 2020 at 3:36 am - Reply

    an error saying unattended unintent

  11. theogamerzz NL May 14, 2020 at 3:36 am - Reply

    Is your keyboard your worst enemy? You don't have to smash you keyboard, treat it like it's your girlfriend 🙂

  12. NathanW May 14, 2020 at 3:36 am - Reply

    I wrote this is about 5 minutes. I am no good at python and I only started Computing earlier this week at school, but this works nearly the same as mentioned in the video. If anyone can finish it or make it better, please do! Also can anyone tell me how I could improve? Thanks: answer= input ("Type 'start' to begin n")

    if answer == "Start" :
        print ("Ok, let's begin")
    elif answer == "start" :
        print ("Ok, let's begin")

    answer= input ("You are at the begining of the maze. There are cross roads. You can either go left or right. Which way do you choose? n")
    if answer == "Right" :
        print ("Ok, you chose to go right. There is a locked door and a keypad with a note next to it. You can GO BACK, INSPECT the door or EXAMINE the note and the keypad. What do you choose? n")
    if answer == "right" :
        print ("Ok, you chose to go right. There is a locked door and a keypad with a note next to it. You can GO BACK, INSPECT the door or EXAMINE the note and the keypad. What do you choose? n")            
    if answer == "Left" :
        print ("Alright, you chose to go left. You approach some stairs. At the top there is a note, which reads 'TURN BACK OR YOU WILL DIE!' What do you do? Do you TURN BACK or do you CONTINUE? n")
    if answer == "left" :
        print ("Alright, you chose to go left. You approach some stairs. At the top, there is a note, which reads 'TURN BACK OR YOU WILL DIE!' What do you do? Do you TURN BACK or do you CONTINUE? n")

  13. Toucan May 14, 2020 at 3:36 am - Reply

    How are you able to use the function before you define it?

  14. ScTiger May 14, 2020 at 3:36 am - Reply

    What version of Python are you using? when i open python it gives me the command prompt interface. How do i fix?

  15. Creeper360Bill May 14, 2020 at 3:36 am - Reply

    print('u r stuk wit gaben, wat u do,  #1hit him #2kis him?')
    gaben = input('')

    if gaben == "#1":
      print('u dy, YU LOS GAUM AHAHAHA')
      
    elif gaben == "#2":
      print('gabe gives u 101% off hatsimulator an u win gam!')

  16. PuffyRainbowCloud May 14, 2020 at 3:36 am - Reply

    Have we?

  17. Fresh Trackzzz May 14, 2020 at 3:36 am - Reply

    this is the code i typed and it wouldntwork.
    def start ():
    print '''Welcome To The Game.
    Type 'start' the begin game'''

    start ()

  18. Fresh Trackzzz May 14, 2020 at 3:36 am - Reply

    When I try this it says invalid syntax

  19. Charlie Crome May 14, 2020 at 3:36 am - Reply

    you and i have been watching the same videos 😀

  20. PuffyRainbowCloud May 14, 2020 at 3:36 am - Reply

    Hoped so, poor keyboard otherwise!

  21. MrSuperyoda01 May 14, 2020 at 3:36 am - Reply

    That's the way its recorded haha, I don't type that hard in real life!

  22. PuffyRainbowCloud May 14, 2020 at 3:36 am - Reply

    It sounds like you're killing your keyboard…

Leave A Comment

*