

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:
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.
Guys they changed it from raw_input() to input().
it's saying 'elif' is an invalid syntax?
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.
I literally followed it to the T and nothing is working….. not even the first sentence is coming up
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
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?
how are you defining something after you use it? like prompt_sta and outside_house?
Thank you very much, your four videos helped me tremendously! 😀
an error saying unattended unintent
Is your keyboard your worst enemy? You don't have to smash you keyboard, treat it like it's your girlfriend 🙂
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")
How are you able to use the function before you define it?
What version of Python are you using? when i open python it gives me the command prompt interface. How do i fix?
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!')
Have we?
this is the code i typed and it wouldntwork.
def start ():
print '''Welcome To The Game.
Type 'start' the begin game'''
start ()
When I try this it says invalid syntax
you and i have been watching the same videos 😀
Hoped so, poor keyboard otherwise!
That's the way its recorded haha, I don't type that hard in real life!
It sounds like you're killing your keyboard…