Dec-10-2017, 02:18 AM
Hey Guys!
I am PKMindBlow and I am currently working on a text game inspired by EarthBound and the Mother Series in general. It also uses some custom ASCII artwork I\'ve been working on. Also, I am new to the forum so I don\'t know how this works.
Anyway. I\'ve been wondering if anyone would want to test it out, give opinions, etc.
Thank you, and here's the code!
Just realized that this doesn't have imports at the top!
Add import time to the top of the code in order to fix this.
Here is the updated code!
I am PKMindBlow and I am currently working on a text game inspired by EarthBound and the Mother Series in general. It also uses some custom ASCII artwork I\'ve been working on. Also, I am new to the forum so I don\'t know how this works.
Anyway. I\'ve been wondering if anyone would want to test it out, give opinions, etc.
Thank you, and here's the code!

AREA = 0 MAXHP = 10 HP = 10 HP2 = 10 EHP = 6 time.sleep(3) print('This game is a text adventure, therefore its gameplay is strictly limited to battles, buying items, talking to people and looking for secrets.') print('Due to this, the focal point of this game is to tell a story and to demonstrate Python\'s text adventure capabilities.') print('Thank you,\nEnjoy!') time.sleep(6) print(' ____ /\ ') print('| | / \ | |') print('| | / \ | |') print('|____ _____ ____ ____| ______ /______\ ____| _____ ____ __|__ ____ _____') print('| \ / |_____| | | \ / | | | | \ / / \ | | \ / |_____| | | | | | | | |_____|') print('| \ / | | \ / | | | | \ / / \ | | \ / | | | | | | | |') print('|____ \/ |_____| | \/ |____| |____|_ \/ / \ |____| \/ |_____| | | | |____| | |_____|') print(' / /') print(' / /') print('A wacky adventure in a world all to real!') input('Hit Enter') for x in range(0, 100): print('') time.sleep(2) print('Centown') time.sleep(2) print('3:00 AM') time.sleep(2) print('1999') time.sleep(2) print('Zero awakes to a call on his walkie-talkie which is under the pillow.') time.sleep(2) print('*ZERO..KRSHK..CLUBHOUSE..KRSHK..NOW!*') time.sleep(2) print('You\'ll need a weapon.') input('Hit Enter') AREA = 0 I = [''] PARTY = [''] while 0 == 0: if AREA == 0: print('You are in your room. To the West is the living room. Your baseball bat (WB) lies on the dresser.') password = input(':') if password == 'W': if I[0] == '': print('What about that weapon!') if I[0] == 'BAT': print('OK') AREA = AREA+1 if password == 'WB': if I[0] == '': print('It was your Dad\'s before you got it...You love baseball, but you haven\'t played baseball since he left...') input('Hit Enter') for x in range(0, 100): print(' #') input('Hit Enter') print('Got The Wooden Bat') I.append('BAT') del I[0] else: print('You already have a bat!') if AREA == 1: print('You\'re in the living room. Nothing to see really, except that the door is to the N') password = input(':') if password == 'N': print('You step outside...') AREA = AREA+1 if password == 'E': print('You reenter your room.') input('Hit Enter') print('But you can\'t sleep knowing that Echo needed you!') input('Hit Enter') for x in range(0, 50): print('') if AREA == 2: print('You are outside your house. To the N is Echo\'s house.') password = input(':') if password == 'N': print('You step forward...') input('Hit Enter') print('An Enemy Approaches!') time.sleep(3) for x in range(0, 50): print(' | ') print('Runaway Toast Man Approaches!\n') print(' ____ ___ ') print(' // \____/ \ ') print(' || | ') print('____|| V V |____ ') print(' || | ') print(' || o | ') print(' \\____________/ ') print(' / \ ') print(' / / ') print('Your Turn') input('Hit Enter') password = input('Swing Bat(1) Defend(2) PA(N/A)') if password == 'N/A': print('Wow. You take things waaaaaay to literally!') print('But seriously, you know absolutely no Psychic Abilities...') if password == '1': OPTS = [0, 0, 1] if passwrod == '2': print('Zero is guarding!') DEF = 0 #COOL TOAST or DAD #print(' ___ ___ ') #print(' ////\____/\\\\ ') #print('|\____________/| ') #print('| \____/\____/ | ') #print('| | ') #print('| \____/ | ') #print(' \____________/ ') #TEXT IDEAS #My Boulder has evovled into a.....Mega Frickin MOUNTAIN!!! #Swag Bagels #Jammin Toast Man...a Toastman with a guitar! #Echo tried PA Lightning! Then he remembers that he can\'t use PA\'s def ECHOFINALBREATH(): print('Echo dives in front of the shot, throwing the bomb simultaneously') time.sleep(2.5) print('Zero : ECHO NO!') time.sleep(3) print('Infinity : IN THE SHORT TIME I\'VE BEEN LIVING...I\'VE DISRUPTED YOUR LIFE GREATLY...') time.sleep(2) print('Infinity : AND WITH MY FINAL BREATHS I WILL VOW TO CONTINUE DOING SO...') time.sleep(2) print('Infinity began to make modem noises...') time.sleep(2) print('Infinty\'s thruster rocket launched him into the sky...') time.sleep(2) print('Echo : Zero...was I help..ful?') time.sleep(2) print('Zero : Oh....Echo...You...you....') time.sleep(2) print('Echo : Don\'t...worry, Zero...Just get the heck outta here...') time.sleep(2) print('Echo gave his final breath...') time.sleep(5) print('Zero began to cry...') time.sleep(3.5) print('However\n He knew what he had to do.')PS: The battle sequence isn't finished, and I recommend you run this in fullscreen Python 3.3 GUI. And yes I know I\'ve been making backslashes at every apostrophe. It's a Python habit.
Just realized that this doesn't have imports at the top!
Add import time to the top of the code in order to fix this.
Here is the updated code!
import time import random AREA = 0 MAXHP = 10 HP = 10 HP2 = 10 EHP = 6 time.sleep(3) print('This game is a text adventure, therefore its gameplay is strictly limited to battles, buying items, talking to people and looking for secrets.') print('Due to this, the focal point of this game is to tell a story and to demonstrate Python\'s text adventure capabilities.') print('Thank you,\nEnjoy!') time.sleep(6) print(' ____ /\ ') print('| | / \ | |') print('| | / \ | |') print('|____ _____ ____ ____| ______ /______\ ____| _____ ____ __|__ ____ _____') print('| \ / |_____| | | \ / | | | | \ / / \ | | \ / |_____| | | | | | | | |_____|') print('| \ / | | \ / | | | | \ / / \ | | \ / | | | | | | | |') print('|____ \/ |_____| | \/ |____| |____|_ \/ / \ |____| \/ |_____| | | | |____| | |_____|') print(' / /') print(' / /') print('A wacky adventure in a world all to real!') input('Hit Enter') for x in range(0, 100): print('') time.sleep(2) print('Centown') time.sleep(2) print('3:00 AM') time.sleep(2) print('1999') time.sleep(2) print('Zero awakes to a call on his walkie-talkie which is under the pillow.') time.sleep(2) print('*ZERO..KRSHK..CLUBHOUSE..KRSHK..NOW!*') time.sleep(2) print('You\'ll need a weapon.') input('Hit Enter') AREA = 0 I = [''] PARTY = [''] while 0 == 0: if AREA == 0: print('You are in your room. To the West is the living room. Your baseball bat (WB) lies on the dresser.') password = input(':') if password == 'W': if I[0] == '': print('What about that weapon!') if I[0] == 'BAT': print('OK') AREA = AREA+1 if password == 'WB': if I[0] == '': print('It was your Dad\'s before you got it...You love baseball, but you haven\'t played baseball since he left...') input('Hit Enter') for x in range(0, 100): print(' #') input('Hit Enter') print('Got The Wooden Bat') I.append('BAT') del I[0] else: print('You already have a bat!') if AREA == 1: print('You\'re in the living room. Nothing to see really, except that the door is to the N') password = input(':') if password == 'N': print('You step outside...') AREA = AREA+1 if password == 'E': print('You reenter your room.') input('Hit Enter') print('But you can\'t sleep knowing that Echo needed you!') input('Hit Enter') for x in range(0, 50): print('') if AREA == 2: print('You are outside your house. To the N is Echo\'s house.') password = input(':') if password == 'N': print('You step forward...') input('Hit Enter') print('An Enemy Approaches!') time.sleep(3) for x in range(0, 50): print(' | ') print('Runaway Toast Man Approaches!\n') print(' ____ ___ ') print(' // \____/ \ ') print(' || | ') print('____|| V V |____ ') print(' || | ') print(' || o | ') print(' \\____________/ ') print(' / \ ') print(' / / ') print('Your Turn') input('Hit Enter') password = input('Swing Bat(1) Defend(2) PA(N/A)') if password == 'N/A': print('Wow. You take things waaaaaay to literally!') print('But seriously, you know no Psychic Abilities...') if password == '1': OPTS = [0, 0, 1] if passwrod == '2': print('Zero is guarding!') DEF = 0 #COOL TOAST or DAD #print(' ___ ___ ') #print(' ////\____/\\\\ ') #print('|\____________/| ') #print('| \____/\____/ | ') #print('| | ') #print('| \____/ | ') #print(' \____________/ ') #TEXT IDEAS #My Boulder has evovled into a.....Mega Frickin MOUNTAIN!!! #Swag Bagels #Jammin Toast Man...a Toastman with a guitar! #Echo tried PA Lightning! Then he remembers that he can\'t use PA\'s def ECHOFINALBREATH(): print('Echo dives in front of the shot, throwing the bomb simultaneously') time.sleep(2.5) print('Zero : ECHO NO!') time.sleep(3) print('Infinity : IN THE SHORT TIME I\'VE BEEN LIVING...I\'VE DISRUPTED YOUR LIFE GREATLY...') time.sleep(2) print('Infinity : AND WITH MY FINAL BREATHS I WILL VOW TO CONTINUE DOING SO...') time.sleep(2) print('Infinity began to make modem noises...') time.sleep(2) print('Infinty\'s thruster rocket launched him into the sky...') time.sleep(2) print('Echo : Zero...was I help..ful?') time.sleep(2) print('Zero : Oh....Echo...You...you....') time.sleep(2) print('Echo : Don\'t...worry, Zero...Just get the heck outta here...') time.sleep(2) print('Echo gave his final breath...') time.sleep(5) print('Zero began to cry...') time.sleep(3.5) print('However\n He knew what he had to do.')