direction=input("You are in a dark room with two doors, one leading to the south, and one to the east. The east door is decaying and there is no light filtering underneath it, while the south door looks like it has a fresh coat of paint and bright light coming from all around the door. Where will you go? ")

if direction==("attest"):

action=input("You are fighting ???, with " + str(monshp) + " HP! What do you do? ")

if action==("punch"):

print("You punch the monster for " + str(herostr) + " damage!")

monshp=monshp-herostr

if monshp==0:

print("You deal the final attack to the monster, it slumps to the ground and you feel as though you have become a more skilled fighter")

action=input("You are fighting ???, with " + str(monshp) + " HP! What do you do? ")

if action==("punch"):

print("You punch the monster for " + str(herostr) + " damage!")

monshp=monshp-herostr

if monshp==0

print("You deal the final attack to the monster, it slumps to the ground and you feel as though you have become a more skilled fighter")

if direction==("south"):

z=z-1

if direction==("east"):

x=x+1

if x==0and z==-1:

direction=input("You walk into the brightly lit room, as tantalizing rays wash over you, you breathe a sigh of relief. There is a comfortable looking chair on the far side of the room and a bookcase packed with expensive looking books, there is also a door to the north, aswell as the door to the east. Where will you go? ")

if x==1and z==0:

direction=input("You creep into the dark room, making sure to be silent as you do, as your eyes adjust to the dark there is a lightning strike outside, the resulting flash illuminating a dark figure on the far side of the room. Where do you go? ")

if direction==("north"):

z=z+1

if direction==("south"):

z=z-1

if direction==("east"):

x=x+1

if direction==("west"):

x=x-1

if x==0and z==0:

direction=input("You are in a dark room with two doors, one leading to the south, and one to the east. The east door is decaying and there is no light filtering underneath it, while the south door looks like it has a fresh coat of paint and bright light coming from all around the door. Where will you go? ")

if x==0and z==-1:

direction=input("You walk into the brightly lit room, as tantalizing rays wash over you, you breathe a sigh of relief. There is a comfortable looking chair on the far side of the room and a bookcase packed with expensive looking books, there is also a door to the north, aswell as the door to the east. Where will you go? ")

if x==1and z==0:

direction=input("You creep into the dark room, making sure to be silent as you do, as your eyes adjust to the dark there is a lightning strike outside, the resulting flash illuminating a dark figure on the far side of the room. Where do you go? ")

if x==1and z==-1:

direction=input("You burst into the room, with determination flooding through you, you feel dissapointment replace it within seconds as you realise you have rushed into an empty room. Where will you go? ")

if direction==("north"):

z=z+1

if direction==("south"):

z=z-1

if direction==("east"):

x=x+1

if direction==("west"):

x=x-1

if x==0and z==0:

direction=input("You are in a dark room with two doors, one leading to the south, and one to the east. The east door is decaying and there is no light filtering underneath it, while the south door looks like it has a fresh coat of paint and bright light coming from all around the door. Where will you go? ")

if x==0and z==-1:

direction=input("You walk into the brightly lit room, as tantalizing rays wash over you, you breathe a sigh of relief. There is a comfortable looking chair on the far side of the room and a bookcase packed with expensive looking books, there is also a door to the north, aswell as the door to the east. Where will you go? ")

if x==1and z==0:

direction=input("You creep into the dark room, making sure to be silent as you do, as your eyes adjust to the dark there is a lightning strike outside, the resulting flash illuminating a dark figure on the far side of the room. Where do you go? ")

if x==1and z==-1:

direction=input("You burst into the room, with determination flooding through you, you feel dissapointment replace it within seconds as you realise you have rushed into an empty room. Where will you go? ")

if direction==("north"):

z=z+1

if direction==("south"):

z=z-1

if direction==("east"):

x=x+1

if direction==("west"):

x=x-1

if x==0and z==0:

direction=input("You are in a dark room with two doors, one leading to the south, and one to the east. The east door is decaying and there is no light filtering underneath it, while the south door looks like it has a fresh coat of paint and bright light coming from all around the door. Where will you go? ")

if x==0and z==-1:

direction=input("You walk into the brightly lit room, as tantalizing rays wash over you, you breathe a sigh of relief. There is a comfortable looking chair on the far side of the room and a bookcase packed with expensive looking books, there is also a door to the north, aswell as the door to the east. Where will you go? ")

if x==1and z==0:

direction=input("You creep into the dark room, making sure to be silent as you do, as your eyes adjust to the dark there is a lightning strike outside, the resulting flash illuminating a dark figure on the far side of the room. Where do you go? ")

if x==1and z==-1:

direction=input("You burst into the room, with determination flooding through you, you feel dissapointment replace it within seconds as you realise you have rushed into an empty room. Where will you go? ")

if direction==("north"):

z=z+1

if direction==("south"):

z=z-1

if direction==("east"):

x=x+1

if direction==("west"):

x=x-1

if x==0and z==0:

direction=input("You are in a dark room with two doors, one leading to the south, and one to the east. The east door is decaying and there is no light filtering underneath it, while the south door looks like it has a fresh coat of paint and bright light coming from all around the door. Where will you go? ")

if x==0and z==-1:

direction=input("You walk into the brightly lit room, as tantalizing rays wash over you, you breathe a sigh of relief. There is a comfortable looking chair on the far side of the room and a bookcase packed with expensive looking books, there is also a door to the north, aswell as the door to the east. Where will you go? ")

if x==1and z==0:

direction=input("You creep into the dark room, making sure to be silent as you do, as your eyes adjust to the dark there is a lightning strike outside, the resulting flash illuminating a dark figure on the far side of the room. Where do you go? ")

if x==1and z==-1:

direction=input("You burst into the room, with determination flooding through you, you feel dissapointment replace it within seconds as you realise you have rushed into an empty room. Where will you go? ")

if direction==("north"):

z=z+1

if direction==("south"):

z=z-1

if direction==("east"):

x=x+1

if direction==("west"):

x=x-1

if x==0and z==0:

direction=input("You are in a dark room with two doors, one leading to the south, and one to the east. The east door is decaying and there is no light filtering underneath it, while the south door looks like it has a fresh coat of paint and bright light coming from all around the door. Where will you go? ")

if x==0and z==-1:

direction=input("You walk into the brightly lit room, as tantalizing rays wash over you, you breathe a sigh of relief. There is a comfortable looking chair on the far side of the room and a bookcase packed with expensive looking books, there is also a door to the north, aswell as the door to the east. Where will you go? ")

if x==1and z==0:

direction=input("You creep into the dark room, making sure to be silent as you do, as your eyes adjust to the dark there is a lightning strike outside, the resulting flash illuminating a dark figure on the far side of the room. Where do you go? ")

if x==1and z==-1:

direction=input("You burst into the room, with determination flooding through you, you feel dissapointment replace it within seconds as you realise you have rushed into an empty room. Where will you go? ")

if direction==("north"):

z=z+1

if direction==("south"):

z=z-1

if direction==("east"):

x=x+1

if direction==("west"):

x=x-1

if x==0and z==0:

direction=input("You are in a dark room with two doors, one leading to the south, and one to the east. The east door is decaying and there is no light filtering underneath it, while the south door looks like it has a fresh coat of paint and bright light coming from all around the door. Where will you go? ")

if x==0and z==-1:

direction=input("You walk into the brightly lit room, as tantalizing rays wash over you, you breathe a sigh of relief. There is a comfortable looking chair on the far side of the room and a bookcase packed with expensive looking books, there is also a door to the north, aswell as the door to the east. Where will you go? ")

if x==1and z==0:

direction=input("You creep into the dark room, making sure to be silent as you do, as your eyes adjust to the dark there is a lightning strike outside, the resulting flash illuminating a dark figure on the far side of the room. Where do you go? ")

if x==1and z==-1:

direction=input("You burst into the room, with determination flooding through you, you feel dissapointment replace it within seconds as you realise you have rushed into an empty room. Where will you go? ")

if direction==("north"):

z=z+1

if direction==("south"):

z=z-1

if direction==("east"):

x=x+1

if direction==("west"):

x=x-1

if x==0and z==0:

direction=input("You are in a dark room with two doors, one leading to the south, and one to the east. The east door is decaying and there is no light filtering underneath it, while the south door looks like it has a fresh coat of paint and bright light coming from all around the door. Where will you go? ")

if x==0and z==-1:

direction=input("You walk into the brightly lit room, as tantalizing rays wash over you, you breathe a sigh of relief. There is a comfortable looking chair on the far side of the room and a bookcase packed with expensive looking books, there is also a door to the north, aswell as the door to the east. Where will you go? ")

if x==1and z==0:

direction=input("You creep into the dark room, making sure to be silent as you do, as your eyes adjust to the dark there is a lightning strike outside, the resulting flash illuminating a dark figure on the far side of the room. Where do you go? ")

if x==1and z==-1:

direction=input("You burst into the room, with determination flooding through you, you feel dissapointment replace it within seconds as you realise you have rushed into an empty room. Where will you go? ")