Hello guest, if you read this it means you are not registered. Click here to register in a few simple steps, you will enjoy all features of our Forum.
Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Text Game Testing/Dev
#1
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! Big Grin
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.')
    
Quote
#2
Hey! I have an engine for making text games! If you want to use it, ill send it to you. Just do NOT! Give it to other people. This is a private engine. Got It?
Quote
#3
For sure! You're the first person to respond.
Send it to me, and hopefully I'll be able to finish this idea!
Thank you!
Quote
#4
Here is some of my older work.
It's a game that runs directly through python, no pygame or anything.
I'm not sure anyone else has caught on to this method.
This is LINEFALL. Use the arrow keys to move. Hit Enter to jump to the hole(Beware you only have 3 jumps) Just navigate through the hole. This was my first game, it also incorporates winsound. So, if you don't have Windows, tell me and I'll take it out.
import turtle
import winsound
import time
import random
import sys
screen = turtle.Screen()

sys.setrecursionlimit(999999999)
from tkinter import *
A = turtle.Pen()
B = turtle.Pen()
C = turtle.Pen()
A.up()
B.up()
C.up()
A.speed(0)
B.speed(0)
C.speed(0)
A.shape('circle')

B.shape('square')
C.shape('square')
C.shapesize(1, 35)
B.shapesize(1, 35)
C.left(90)
C.fd(300)
C.right(90)
C.bk(400)
B.left(90)
B.fd(300)
B.right(90)
B.fd(400)
A.up()
A.right(90)
A.fd(200)
A.left(90)
#EACH SIDE == 540px
#FULL 1080px


OPTS = [1, 2, 3, 0, -1, -2]
def END():
    beatlength = 300
    beathalf = 150
    winsound.Beep(262, beatlength) # C (double length)
    winsound.Beep(247, beathalf) # 
    winsound.Beep(220, beathalf) # A
    winsound.Beep(196, beathalf) # G
    winsound.Beep(220, 2*beatlength) # B
    
    
    

    
    
def START():
    HARD = 0
    beatlength = 300
    winsound.Beep(262, beatlength) # C
    winsound.Beep(262, beatlength) # C
    winsound.Beep(294, beatlength) # D
    winsound.Beep(330, beatlength) # E

    winsound.Beep(262, beatlength) # C
    winsound.Beep(330, beatlength) # E
    winsound.Beep(294, 2*beatlength) # D (double length)

    winsound.Beep(262, beatlength) # C
    winsound.Beep(262, beatlength) # C
    winsound.Beep(294, beatlength) # D
    winsound.Beep(330, beatlength) # E

    winsound.Beep(262, 2*beatlength) # C (double length)
    winsound.Beep(247, 2*beatlength) # B (double length)

    winsound.Beep(262, beatlength) # C
    winsound.Beep(262, beatlength) # C
    winsound.Beep(294, beatlength) # D
    winsound.Beep(330, beatlength) # E

    winsound.Beep(349, beatlength) # F
    winsound.Beep(330, beatlength) # E
    winsound.Beep(294, beatlength) # D
    winsound.Beep(262, beatlength) # C

    winsound.Beep(247, beatlength) # B
    winsound.Beep(196, beatlength) # G
    winsound.Beep(220, beatlength) # A
    winsound.Beep(247, beatlength) # B

    winsound.Beep(262, 2*beatlength) # C (double length)
    winsound.Beep(262, 2*beatlength) # C (double length)
    while 0 == 0:
        random.shuffle(OPTS)
        X = 0
        if OPTS[0] == 1:
            B.fd(100)
            C.fd(100)
        if OPTS[0] == 2:
            B.fd(200)
            C.fd(200)
        if OPTS[0] == 3:
            B.fd(200)
            C.fd(200)
        if OPTS[0] == 0:
            B.bk(100)
            C.bk(100)
        if OPTS[0] == -1:
            B.bk(200)
            C.bk(200)
        if OPTS[0] == -2:
            B.bk(200)
            C.bk(200)
        Y = B.xcor() +360
        Z = B.xcor() -360
        YY = C.xcor() +360
        ZZ = C.xcor() -360
        while X < 60:
            B.goto(B.xcor(), B.ycor()-10)
            time.sleep(0.01)
            C.goto(C.xcor(), C.ycor()-10)
            time.sleep(0.01)
            
            X = X +1
            while A.xcor() > Z and A.xcor() < Y and A.ycor() == B.ycor():
        
                A.write('GAME OVER!')
                END()
                break
            while A.xcor() < YY and A.xcor() > ZZ and A.ycor() == C.ycor():
                A.write('GAME OVER!')
                END()
                break
        B.goto(400.00,300.00)
        C.goto(-400.00,300.00)
def HARD():        
    beatlength = 200
    winsound.Beep(262, beatlength) # C
    winsound.Beep(262, beatlength) # C
    winsound.Beep(294, beatlength) # D
    winsound.Beep(330, beatlength) # E

    winsound.Beep(262, beatlength) # C
    winsound.Beep(330, beatlength) # E
    winsound.Beep(294, 2*beatlength) # D (double length)

    winsound.Beep(262, beatlength) # C
    winsound.Beep(262, beatlength) # C
    winsound.Beep(294, beatlength) # D
    winsound.Beep(330, beatlength) # E

    winsound.Beep(262, 2*beatlength) # C (double length)
    winsound.Beep(247, 2*beatlength) # B (double length)

    winsound.Beep(262, beatlength) # C
    winsound.Beep(262, beatlength) # C
    winsound.Beep(294, beatlength) # D
    winsound.Beep(330, beatlength) # E

    winsound.Beep(349, beatlength) # F
    winsound.Beep(330, beatlength) # E
    winsound.Beep(294, beatlength) # D
    winsound.Beep(262, beatlength) # C

    winsound.Beep(247, beatlength) # B
    winsound.Beep(196, beatlength) # G
    winsound.Beep(220, beatlength) # A
    winsound.Beep(247, beatlength) # B

    winsound.Beep(262, 2*beatlength) # C (double length)
    winsound.Beep(262, 2*beatlength) # C (double length)
    while 0 == 0:
        random.shuffle(OPTS)
        X = 0
        if OPTS[0] == 1:
            B.fd(100)
            C.fd(100)
        if OPTS[0] == 2:
            B.fd(200)
            C.fd(200)
        if OPTS[0] == 3:
            B.fd(200)
            C.fd(200)
        if OPTS[0] == 0:
            B.bk(100)
            C.bk(100)
        if OPTS[0] == -1:
            B.bk(200)
            C.bk(200)
        if OPTS[0] == -2:
            B.bk(200)
            C.bk(200)
        Y = B.xcor() +360
        Z = B.xcor() -360
        YY = C.xcor() +360
        ZZ = C.xcor() -360
        while X < 60:
            B.goto(B.xcor(), B.ycor()-10)
            
            C.goto(C.xcor(), C.ycor()-10)
            
            
            X = X +1
            while A.xcor() > Z and A.xcor() < Y and A.ycor() == B.ycor():
        
                A.write('GAME OVER!')
                END()
                break
            while A.xcor() < YY and A.xcor() > ZZ and A.ycor() == C.ycor():
                A.write('GAME OVER!')
                END()
                break
        B.goto(400.00,300.00)
        C.goto(-400.00,300.00)          
def CRAZY():
    
    beatlength = 140
    
    winsound.Beep(262, beatlength) # C
    winsound.Beep(262, beatlength) # C
    winsound.Beep(294, beatlength) # D
    winsound.Beep(330, beatlength) # E

    winsound.Beep(262, beatlength) # C
    winsound.Beep(330, beatlength) # E
    winsound.Beep(294, 2*beatlength) # D (double length)

    winsound.Beep(262, beatlength) # C
    winsound.Beep(262, beatlength) # C
    winsound.Beep(294, beatlength) # D
    winsound.Beep(330, beatlength) # E

    winsound.Beep(262, 2*beatlength) # C (double length)
    winsound.Beep(247, 2*beatlength) # B (double length)

    winsound.Beep(262, beatlength) # C
    winsound.Beep(262, beatlength) # C
    winsound.Beep(294, beatlength) # D
    winsound.Beep(330, beatlength) # E

    winsound.Beep(349, beatlength) # F
    winsound.Beep(330, beatlength) # E
    winsound.Beep(294, beatlength) # D
    winsound.Beep(262, beatlength) # C

    winsound.Beep(247, beatlength) # B
    winsound.Beep(196, beatlength) # G
    winsound.Beep(220, beatlength) # A
    winsound.Beep(247, beatlength) # B

    winsound.Beep(262, 2*beatlength) # C (double length)
    winsound.Beep(262, 2*beatlength) # C (double length)
    while 0 == 0:
        random.shuffle(OPTS)
        X = 0
        if OPTS[0] == 1:
            B.fd(100)
            C.fd(100)
        if OPTS[0] == 2:
            B.fd(200)
            C.fd(200)
        if OPTS[0] == 3:
            B.fd(200)
            C.fd(200)
        if OPTS[0] == 0:
            B.bk(100)
            C.bk(100)
        if OPTS[0] == -1:
            B.bk(200)
            C.bk(200)
        if OPTS[0] == -2:
            B.bk(200)
            C.bk(200)
        Y = B.xcor() +360
        Z = B.xcor() -360
        YY = C.xcor() +360
        ZZ = C.xcor() -360
        while X < 60:
            B.goto(B.xcor(), B.ycor()-25)
            
            C.goto(C.xcor(), C.ycor()-25)
            
            
            X = X +1
            while A.xcor() > Z and A.xcor() < Y and A.ycor() == B.ycor():
        
                A.write('GAME OVER!')
                END()
                break
            while A.xcor() < YY and A.xcor() > ZZ and A.ycor() == C.ycor():
                A.write('GAME OVER!')
                END()
                break
        B.goto(400.00,300.00)
        C.goto(-400.00,300.00)
HYPER = 3
canvas = Canvas()
def MOVE(event,):
    global HYPER
    if event.keysym == '1':
        START()
    if event.keysym == 'Left':
        A.bk(40)
    if event.keysym == 'Right':
        A.fd(40)
    if event.keysym == '2':
        HARD()
    if event.keysym == '3':
        CRAZY()
    if event.keysym == 'Return':
       while HYPER > 0:
           A.goto(B.xcor() -400, -200)
           HYPER = HYPER -1
           break
        
canvas.bind_all('<KeyRelease-1>', MOVE)
canvas.bind_all('<KeyRelease-Left>', MOVE)
canvas.bind_all('<KeyRelease-Right>', MOVE)
canvas.bind_all('<KeyRelease-2>', MOVE)
canvas.bind_all('<KeyRelease-3>', MOVE)
canvas.bind_all('<KeyRelease-Return>', MOVE)

DO NOT HOLD DOWN THE KEYS! Press the arrow keys rapidly to move.
PS: Hit 1 for easy mode, 2 for medium, and 3 for insanity.
Quote
#5
A new CRPG in text!
###################
[python]import random
import time
HP = 0
GOLD = 0
MAGIC = 0
STEAL = 0
AREA = 0
SHEILD = 0
KILLS = 0
EHP = 0
ROPE = 0
POTION = 0
W1 = ['Hobgoblin', 'Spider', 'Bat', 'Nothing', 'Nothing']
W2 = []
W3 = []
ST = ['Wood Sword', 'Iron Sword', 'Temp Sword', 'Wood Sword', 'Iron Sword', 'Temp Sword', 'Wood Sword', 'Iron Sword', 'Temp Sword', 'Silver Sword', 'Caught', 'Caught', 'Caught', 'Caught' 'Caught', 'Caught', 'Caught', 'Caught' 'Caught', 'Caught', 'Caught', 'Caught']
STI = ['Caught', 'Caught', 'Caught', '50', '50', '50', '100', 'SHEILD', 'POTION', '']
EXP = 0
DIV = 10
LVL = EXP/DIV
EHM = [0, 0, 1]
SBAR = 0
GBAR = 0
CBAR = 0

print('######################################################################################################################################################################')
print('############################################################################PYCOM PRESENTS############################################################################')
print('######################################################################################################################################################################')
print('################################################## _________ ____ ##################################################')
print('################################################## / \ / / ##################################################')
print('################################################## | ______\ / / ##################################################')
print('################################################## | / | | ##################################################')
print('################################################## | |____ | | ##################################################')
print('################################################## | \ | | ___ ##################################################')
print('################################################## | _____\ | | |___| ##################################################')
print('################################################## | | | | _______ ______ ___ _________ ##################################################')
print('################################################## | | | | / _ \ / \ | | / __ | | ##################################################')
print('################################################## | | | | | / \ | | /\__| | | | / \ | ##################################################')
print('################################################## | | | | | \_/ | | | | | | \__/ | ##################################################')
print('################################################## |____| |____| \_______/ |___| |___| \_______|_| ##################################################')
print('################################################## ##################################################')
print('######################################################################################################################################################################')
print('############################################################################JANUARY---2018############################################################################')
print('######################################################################################################################################################################')
print('An indepentantly developed, treasure hunting game!')
input('Hit Enter')
for x in range(0, 50):
print('')
while 0 == 0:

print('Choose your race:')
print('1.) Human')
print(' Strong and mildly rich.')
print('2.) Elf')
print(' Slightly weak, they don\'t need or want gold.')
print('3.) Goblin')
print(' Very small and weak, they\'ve got lots of gold though!')
print('4.) Neko')
print(' A humanoid cat. It is strong, and it has a lot of gold.')
password = input(':')
if password == '1':
HP = 100
GOLD = 100
RACE = 'HUMAN'

break
if password == '2':
HP = 75
GOLD = 50
RACE = 'ELF'
break
if password == '3':
HP = 50
GOLD = 200
RACE = 'GOBLIN'
break
if password == '4':
HP = 100
GOLD = 250
RACE = 'NEKO'
break
while 0 == 0:
print('Choose your class:')
print('1.) Fighter')
print(' Extra attack power!')
print('2.) Mage')
print(' A wizard, but less cool!')
print('3.) Rogue')
print(' A fighter/theif thing!')
print('4.) Stanlee')
print(' A mage/rogue thing! Best used as Neko Stanlee')
password = input(':')
if password == '1':
ATK = 10
CLASS = 'FIGHTER'
HM = [0, 1, 1]
break
if password == '2':
ATK = 3
CLASS = 'MAGE'
HM = [0, 0, 1]
break
if password == '3':
ATK = 5
CLASS = 'ROGUE'
HM = [0, 0, 1, 2]
STEAL = 1
break
if password == '4':
ATK = 7
CLASS = 'STANLEE'
HM = [0, 1]
STEAL = 1
MAGIC = 1
break

NAME = input('What is your name?')
print(NAME)
print(RACE)
print(CLASS)
print('HP', HP)
print('GOLD', GOLD)
print('ATK', ATK)
INV = ['Nothing', 'Nothing', 'Nothing', 'Nothing', 'Nothing']
W = ['Nothing']
EXP = 0

while 0 == 0:
while AREA == 0:
if EXP > 5 and EXP < 10:
LVL = 1
if EXP > 10 and EXP < 15:
LVL = 2
if EXP > 15 and EXP < 20:
LVL = 3
if EXP > 25 and EXP < 30:
LVL = 4
if EXP > 30 and EXP < 35:
LVL = 5
if EXP > 35 and EXP < 40:
LVL = 6
if EXP > 45 and EXP < 50:
LVL = 7
if EXP > 55 and EXP < 60:
LVL = 8
if EXP > 65 and EXP < 70:
LVL = 9
if EXP > 70:
LVL = 10


print('SURFACE')
print('You can:')
print('1.) Buy Weapons')
print('2.) Sell Weapons')
print('3.) Buy Items')
print('4.) Sell Items')
print('5.) Heal in the Cleric Shop')
print('6.) Enter Dungeon')
print('7.) Treasure Shop')
print('s.) Stats')
print('i.) Inventory')

password = input(':')
if password == '7':
print('You enter the Treasury Shop...')
time.sleep(3)
for x in range(0, 100):
print('')
while 0 == 0:
print('Silver Bars', SBAR)
print('Gold Bars', GBAR)
print('Crystal Bars', CBAR)
password = input('1.) Sell All\n2.) EXIT\n:')
if password == '1':
print(SBAR*25, 'Silver Bar Total Price')
print(GBAR*50, 'Gold Bar Total Price')
print(CBAR*100, 'Silver Bar Total Price')
GOLD = GOLD +SBAR*25+GBAR*50+CBAR*100
print('New GOLD amount:', GOLD)
SBAR = 0
GBAR = 0
CBAR = 0
if password == '2':
break
if password == 'I' or password == 'i':
print('Inventory')
print('POTION', POTION)
print('SUPER POTION', ROPE)
print('SHEILD', SHEILD)
if password == 'S' or password == 's':
print(NAME)
print(RACE)
print(CLASS)
print('HP', HP)
print('GOLD', GOLD)
print('ATK', ATK)
print(W[0])
print('SHEILD', SHEILD)
print('KILLS', KILLS)
print('LVL', LVL)
input('Hit Enter')
for x in range(0, 100):
print('')
if password == '5':
while 0 == 0:
print('What package do you want?')
print('1.) Full HP Heal 100 G')
print('2.) Half HP Heal 50 G')
print('3.) EXIT')
A = input(':')
if A == '1' and GOLD >= 100:
if RACE == 'HUMAN' or RACE == 'NEKO':
HP = 100
if RACE == 'ELF':
HP = 75
if RACE == 'GOBLIN':
HP = 50

GOLD = GOLD -100
if A == '2' and GOLD >= 50:
if RACE == 'HUMAN' or RACE == 'NEKO':
HP = HP +50
if RACE == 'ELF':
HP = HP +35
if RACE == 'GOBLIN':
HP = HP +25
GOLD = GOLD -50
print('Healed to', HP, 'HP')
if A == '3':
break

if password == '6':
print('You enter the first level of the dungeon...')
time.sleep(3)
AREA = AREA +1
if password == '4':
print('You enter the general store...')
time.sleep(3)
while 0 == 0:
print('What do we have here?')
print('(Automatically sells only one.')
print('1.) POTIONS 20 G EACH')
print('2.) SUPER POTIONS 50 G EACH')
print('3.) SHEILD 45 G EACH')
print('4.) EXIT')
A = input(':')
if A == '1' and POTION != 0:

GOLD = GOLD +20
POTION = POTION -1
if A == '2' and ROPE != 0:
GOLD = GOLD +50
ROPE = ROPE -1
if A == '3' and SHEILD != 0:
GOLD = GOLD +45
SHEILD = SHEILD -1
if A == '4':
break




if password == '3':
print('You enter the general store...')
time.sleep(3)
while 0 == 0:
print('Aye. Whaddya need? Potion? Sheild? We got it!')
print('1.) Potion 25 G')
print(' Recovers 10 HP')
print('2.) Sheild 50 G')
print(' Can be used to absorb one hit, thus breaking it.')
print('3.) Super Potion 60 G')
print(' Recovers 50 HP')
print('4.) EXIT')
if STEAL == 1:
print('5.) Steal')
A = input(':')
if A == '1' and GOLD >= 25:

print('Bought a potion.')
POTION = POTION +1

GOLD = GOLD -25



if A == '2' and GOLD >= 50:

print('Bought a sheild.')


SHEILD = SHEILD +1
GOLD = GOLD -50


if A == '3' and GOLD >= 60:


print('Bought a Super Potion.')
ROPE = ROPE +1
GOLD = GOLD -60



if A == '4':
break
if A == '5' and STEAL == 1:

random.shuffle(STI)
time.sleep(3)
if STI[0] == 'Caught':
print('Get out of me shop!')
print('The shopkeeper hits you for 25 Damage!')
HP = HP -25
break
if STI[0] == '50':
print('Got 50 G!')
GOLD = GOLD +50
if STI[0] == '100':
print('Got 100 G!')
GOLD = GOLD +100
if STI[0] == 'SHEILD':
print('Got a Sheild!')
SHEILD = SHEILD +1
if STI[0] == 'POTION':
print('Got a Potion!')
POTION = POTION +1
else:
print('Got a Super Potion!')
ROPE = ROPE +1
if password == '2' and W[0] != 'Nothing':
print('You enter the weapons shop...')
time.sleep(3)
for x in range(0, 100):
print('')
print('Do you want to sell your current weapon?')
A = input('Y/N?\n:')
if A == 'Y' or A == 'y':
if W[0] == 'WSWORD':
print('I\'ll give ya 10 G!')
input('Hit Enter')
GOLD = GOLD+20
del W[0]
W.append('Nothing')
ATK = ATK -10
if W[0] == 'ISWORD':
print('Hm...Ah! I\'ll give ya 50 G!')
input('Hit Enter')
GOLD = GOLD+70
del W[0]
W.append('Nothing')
ATK = ATK -25
if W[0] == 'TISWORD':
print('Hm...Wow...I\'ll give ya 90 G!')
input('Hit Enter')
GOLD = GOLD+120
del W[0]
W.append('Nothing')
ATK = ATK-50
if W[0] == 'SSWORD':
print('My God! How did you get one of these? I\'ll pay full price, 500 G!')
input('Hit Enter')
GOLD = GOLD +500
del W[0]
W.append('Nothing')
ATK = ATK -100
if W[0] == 'CSWORD':
print('I don\'t have enough money to buy this!')
if A == 'N' or A == 'n':
print('...Aye.')


if password == '1':
print('You enter the weapons shop...')
time.sleep(3)
for x in range(0, 50):
print('')
while 0 == 0:


print('Whaddya want?')
print('1.) Wood Sword 50 G')
print(' ATK +10')
print('2.) Iron Sword 100 G')
print(' ATK +25')
print('3.) Tempered Iron Sword 200 G')
print(' ATK +50')
print('4.) Silver Sword 500 G')
print(' ATK +100')

print('5.) EXIT')
if STEAL == 1:
print('6.) Steal')
if LVL >= 3:
print('7.) Crystal Sword 1000 G')
print(' ATK +500')

A = input(':')
if A == '1' and GOLD >= 50 and W[0] == 'Nothing':#AAAAA FROM PASS
print('You bought a Wood Sword')
W.append('WSWORD')
del W[0]
ATK = ATK +10
GOLD = GOLD -50
if A == '2' and GOLD >= 100 and W[0] == 'Nothing':
print('You bought an Iron Sword')
W.append('ISWORD')
del W[0]
ATK = ATK +25
GOLD = GOLD -100
if A == '3' and GOLD >= 200 and W[0] == 'Nothing':
print('You bought a Tempered Sword')
W.append('TISWORD')
del W[0]
ATK = ATK +50
GOLD = GOLD -200
if A == '4' and GOLD >= 500 and W[0] == 'Nothing':
print('You bought a Silver Sword')
W.append('SSWORD')
del W[0]
ATK = ATK +100
GOLD = GOLD-500
if A == '5':
break
if A == '6' and STEAL == 1 and W[0] == 'Nothing':
print('Stealing a random weapon...')
time.sleep(3)
random.shuffle(ST)
if ST[0] == 'Caught':
print('Get out of me shop!')
print('The shopkeeper hits you for 25 Damage')
HP = HP -25
break
if ST[0] == 'Wood Sword':
print('OK...You got a Wood Sword')
W.append('WSWORD')
del W[0]
ATK = ATK +10
if ST[0] == 'Iron Sword':
print('Nice...You got an Iron Sword')
W.append('ISWORD')
del W[0]
ATK = ATK +25
if ST[0] == 'Temp Sword':
print('Wow! You got a Tempered Iron Sword')
W.append('TISWORD')
del W[0]
ATK = ATK +50
if ST[0] == 'Silver Sword':
print('Wow! You got a Silver Sword, you\'re rich if you sell it!')
W.append('TISWORD')
del W[0]
ATK = ATK +100
if HP < 1:
print('You Are Dead!')
if A == '7' and GOLD >= 1000 and W[0] == 'Nothing' and LVL >= 3:
print('You bought a Crystal Sword')
W.append('CSWORD')
del W[0]
ATK = ATK+500
GOLD = GOLD -1000
while AREA == 1:#DUNGEON LVL1
ATK = ATK +LVL
print('You can:')
print('1.) Search the level')
print('2.) Use Item')
print('3.) Climb Up')
A = input(':')
if A == '1':
EHP = 10
random.shuffle(W1)

if KILLS >= 3:
print('You found the stairs to the next level!')
while 0 == 0:
print('Climb Down?')
print('Y/N?')
YN = input(':')
if YN == 'Y' or YN == 'y':
AREA = AREA+1
print('You enter the second level of the dungeon...')
time.sleep(3)
for x in range(0, 100):
print('')
break
else:
break

if W1[0] == 'Hobgoblin':
EHP = 20
EHM = [0, 0, 1]
print('Hobgoblin approaches!')
while 0 == 0:
print('1.) Attack')
print('2.) Run')
if CLASS == 'MAGE' or CLASS == 'STANLEE':
print('3.) Magic')
B = input(':')
if B == '1':
random.shuffle(HM)
if HM[0] == 0:
print('You miss!')
if HM[0] == 1:
print('You hit for', ATK, 'Damage')
EHP = EHP -ATK
if HM[0] == 2:
print('You hit partially for,', int(ATK/2), 'Damage')
EHP = EHP -10
if B == '2':
random.shuffle(HM)
if HM[0] == 0 or HM[0] == 2:
print('You failed to run away')
if HM[0] == 1:
print('You run back to the stairs succesfully.')
input('Hit Enter')
for x in range(0, 100):
print('')
break
if B == '3' and CLASS == 'MAGE' or CLASS == 'STANLEE' and B == '3':
print('1.) For 100 G you can recover 50 HP.\n2.) For 200 G you can attack for 50 Damage.')
M = input(':')
if M == '1' and GOLD >= 100:
print('You recovered 50 HP!')
HP = HP +50
GOLD = GOLD -10
input('Hit Enter')
for x in range(0, 50):
print('')
if M == '2' and GOLD >= 200:
random.shuffle(HM)
if HM[0] == 0:
print('Missed!')
if HM[0] == 1:
print('Hit!')
EHP = EHP -5
random.shuffle(EHM)
if EHM[0] == 0:
if SHEILD > 0:
print('You blocked the blow with your sheild! It broke...')

SHEILD = SHEILD -1
else:
print('You took 15 Damage!')
HP = HP -15
else:
print('Hobgoblin missed!')
if HP < 1:
print('You are dead!')
import FLORIA
if EHP < 1:
print('You won!')
print('EXP +3')
EXP = EXP +3
KILLS = KILLS +1
break
if W1[0] == 'Spider':
print('Spider approaches!')
while 0 == 0:
print('1.) Attack')
print('2.) Run')
if CLASS == 'MAGE' or CLASS == 'STANLEE':
print('3.) Magic')
B = input(':')
if B == '1':
random.shuffle(HM)
if HM[0] == 0:
print('You miss!')
if HM[0] == 1:
print('You hit for', ATK, 'Damage')
EHP = EHP -ATK
if HM[0] == 2:
print('You hit partially for', int(ATK/2), 'Damage')
EHP = EHP -int(ATK/2)
if B == '2':
random.shuffle(HM)
if HM[0] == 0 or HM[0] == 2:
print('You failed to run away')
if HM[0] == 1:
print('You run back to the stairs succesfully.')
input('Hit Enter')
for x in range(0, 100):
print('')
break
if B == '3' and CLASS == 'MAGE' or CLASS == 'STANLEE' and B == '3':
print('1.) For 100 G you can recover 50 HP.\n2.) For 200 G you can attack for 50 Damage.')
M = input(':')
if password == '1' and GOLD >= 100:
print('You recovered 50 HP!')
HP = HP +50
GOLD = GOLD -10
input('Hit Enter')
for x in range(0, 50):
print('')
if password == '2' and GOLD >= 200:
random.shuffle(HM)
if HM[0] == 0:
print('Missed!')
if HM[0] == 1:
print('Hit!')
EHP = EHP -int(ATK/2)
random.shuffle(EHM)
if EHM[0] == 0 and SHEILD == 0:
print('You took 15 Damage!')
HP = HP -15
if EHM[0] == 0 and SHEILD > 0:
print('You blocked the blow with your sheild! It broke...')
SHEILD = SHEILD -1
else:
print('Spider missed!')
if HP < 1:
print('You are dead!')
import FLORIA
if EHP < 1:
print('You won!')
print('EXP +2')
EXP = EXP +2
KILLS = KILLS +1
break
if W1[0] == 'Bat':
print('Bat approaches!')
while 0 == 0:
print('1.) Attack')
print('2.) Run')
if CLASS == 'MAGE' or CLASS == 'STANLEE':
print('3.) Magic')
B = input(':')
if B == '1':
random.shuffle(HM)
if HM[0] == 0:
print('You miss!')
if HM[0] == 1:
print('You hit for', ATK, 'Damage')
EHP = EHP -ATK
if HM[0] == 2:
print('You hit partially for', int(ATK/2), 'Damage')
EHP = EHP -int(ATK/2)
if B == '2':
random.shuffle(HM)
if HM[0] == 0 or HM[0] == 2:
print('You failed to run away')
if HM[0] == 1:
print('You run back to the stairs succesfully.')
input('Hit Enter')

break
if B == '3' and CLASS == 'MAGE' or CLASS == 'STANLEE' and B == '3':
print('1.) For 100 G you can recover 50 HP.\n2.) For 200 G you can attack for 50 Damage.')
M = input(':')
if password == '1' and GOLD >= 100:
print('You recovered 50 HP!')
HP = HP +50
GOLD = GOLD -10
input('Hit Enter')
for x in range(0, 50):
print('')
if password == '2' and GOLD >= 200:
random.shuffle(HM)
if HM[0] == 0:
print('Missed!')
if HM[0] == 1:
print('Hit!')
EHP = EHP -int(ATK/2)
random.shuffle(EHM)
if EHM[0] == 0:
if SHEILD > 0:
print('You blocked the blow with your sheild! It broke...')

SHEILD = SHEILD -1
else:
print('You took 5 Damage!')
HP = HP -5

else:
print('Bat missed!')
if HP < 1:
print('You are dead!')
import FLORIA
if EHP < 1:
print('You won!')
print('EXP +1')
EXP = EXP +1
KILLS = KILLS +1
break


if A == '2':
print('1.) POTION(S)', POTION)
print('2.) SUPER POTIONS(S)', ROPE)
print('3.) SHEILD(S)', SHEILD)
C = input(':')
if C == '1' and POTION > 0:
print('Recovered 10 HP!')
HP = HP +10
POTION = POTION -1
if C == '2' and ROPE > 0:
print('Recovered 50 HP')
HP = HP +50
ROPE = ROPE -1
if A == '3':
AREA = AREA -1

while AREA == 2:


print('You can:')
print('1.) Search the level')
print('2.) Use Item')
print('3.) Climb Up')
A = input(':')
if A == '1':
EHP = 10
random.shuffle(W1)
if W1[0] == 'Nothing' and KILLS < 6:
print('You found a chest!')
input('Hit Enter To Open')
LOOT = ['50', '50', '50', '100', '100', 'Silver Bar', 'Gold Bar', 'Crystal Bar', 'Nothing', 'Nothing']
random.shuffle(LOOT)
if LOOT[0] == '50':
print('You got 50 G!')
GOLD = GOLD+50
if LOOT[0] == '100':
print('You got 100 G!')
GOLD = GOLD+100
if LOOT[0] == 'Silver Bar':
print('Wow! A Silver Bar!')
SBAR = SBAR +1
if LOOT[0] == 'Gold Bar':
print('Whoa!! A Gold Bar!')
GBAR = GBAR +1
if LOOT[0] == 'Crystal Bar':
print('You\'re rich! A Crystal Bar!')
CBAR = CBAR +1
if W1[0] == 'Nothing' and KILLS >= 6:
print('You found the stairs to the next level!')
while 0 == 0:
print('Climb Down?')
print('Y/N?')
YN = input(':')
if YN == 'Y' or YN == 'y':
AREA = AREA+1
for x in range(0, 100):
print('')
break
else:
break

if W1[0] == 'Hobgoblin':
EHP = 80
EHM = [0, 1]
print('Orc approaches!')
while 0 == 0:
print('1.) Attack')
print('2.) Run')
if CLASS == 'MAGE' or CLASS == 'STANLEE':
print('3.) Magic')
B = input(':')
if B == '1':
random.shuffle(HM)
if HM[0] == 0:
print('You miss!')
if HM[0] == 1:
print('You hit for', ATK, 'Damage')
EHP = EHP -ATK
if HM[0] == 2:
print('You hit partially for,', int(ATK/2), 'Damage')
EHP = EHP -10
if B == '2':
random.shuffle(HM)
if HM[0] == 0 or HM[0] == 2:
print('You failed to run away')
if HM[0] == 1:
print('You run back to the stairs succesfully.')
input('Hit Enter')
for x in range(0, 100):
print('')
break
if B == '3' and CLASS == 'MAGE' or CLASS == 'STANLEE' and B == '3':
print('1.) For 100 G you can recover 50 HP.\n2.) For 200 G you can attack for 50 Damage.')
M = input(':')
if M == '1' and GOLD >= 100:
print('You recovered 50 HP!')
HP = HP +50
GOLD = GOLD -10
input('Hit Enter')
for x in range(0, 50):
print('')
if M == '2' and GOLD >= 200:
random.shuffle(HM)
if HM[0] == 0:
print('Missed!')
if HM[0] == 1:
print('Hit!')
EHP = EHP -int(ATK/2)
random.shuffle(EHM)
if EHM[0] == 0:
if SHEILD > 0:
print('You blocked the blow with your sheild! It broke...')

SHEILD = SHEILD -1
else:
print('You took 20 Damage!')
HP = HP -20
else:
print('Orc missed!')
if HP < 1:
print('You are dead!')
import FLORIA
if EHP < 1:
print('You won!')
print('EXP +7')
EXP = EXP +7
KILLS = KILLS+1
break
if W1[0] == 'Spider':
EHM = [0, 1]
EHP = 80
print('Skeleton approaches!')
while 0 == 0:
print('1.) Attack')
print('2.) Run')
if CLASS == 'MAGE' or CLASS == 'NEKO':
print('3.) Magic')
B = input(':')
if B == '1':
random.shuffle(HM)
if HM[0] == 0:
print('You miss!')
if HM[0] == 1:
print('You hit for', ATK, 'Damage')
EHP = EHP -ATK
if HM[0] == 2:
print('You hit partially for', int(ATK/2), 'Damage')
EHP = EHP -int(ATK/2)
if B == '2':
random.shuffle(HM)
if HM[0] == 0 or HM[0] == 2:
print('You failed to run away')
if HM[0] == 1:
print('You run back to the stairs succesfully.')
input('Hit Enter')
for x in range(0, 100):
print('')
break
if B == '3' and CLASS == 'MAGE' or CLASS == 'STANLEE' and B == '3':
print('1.) For 100 G you can recover 50 HP.\n2.) For 200 G you can attack for 50 Damage.')
M = input(':')
if password == '1' and GOLD >= 100:
print('You recovered 50 HP!')
HP = HP +50
GOLD = GOLD -10
input('Hit Enter')
for x in range(0, 50):
print('')
if password == '2' and GOLD >= 200:
random.shuffle(HM)
if HM[0] == 0:
print('Missed!')
if HM[0] == 1:
print('Hit!')
EHP = EHP -int(ATK/2)
random.shuffle(EHM)
if EHM[0] == 0:
if SHEILD < 1:
print('You took 30 Damage!')
HP = HP -30
else:
print('You blocked the blow with your sheild! It broke...')
SHEILD = SHEILD-1
else:
print('Skeleton missed!')
if HP < 1:
print('You are dead!')
import FLORIA
if EHP < 1:
print('You won!')
print('EXP +6')
EXP = EXP +6
KILLS = KILLS +1
break
if W1[0] == 'Bat':
EHM = [0, 0, 1]
EHP = 70
print('Rat approaches!')
while 0 == 0:
print('1.) Attack')
print('2.) Run')
if CLASS == 'MAGE' or CLASS == 'STANLEE':
print('3.) Magic')
B = input(':')
if B == '1':
random.shuffle(HM)
if HM[0] == 0:
print('You miss!')
if HM[0] == 1:
print('You hit for', ATK, 'Damage')
EHP = EHP -ATK
if HM[0] == 2:
print('You hit partially for', int(ATK/2), 'Damage')
EHP = EHP -int(ATK/2)
if B == '2':
random.shuffle(HM)
if HM[0] == 0 or HM[0] == 2:
print('You failed to run away')
if HM[0] == 1:
print('You run back to the stairs succesfully.')
input('Hit Enter')

break
if B == '3' and CLASS == 'MAGE' or CLASS == 'STANLEE' and B == '3':
print('1.) For 100 G you can recover 50 HP.\n2.) For 200 G you can attack for 50 Damage.')
M = input(':')
if password == '1' and GOLD >= 100:
print('You recovered 50 HP!')
HP = HP +50
GOLD = GOLD -10
input('Hit Enter')
for x in range(0, 50):
print('')
if password == '2' and GOLD >= 200:
random.shuffle(HM)
if HM[0] == 0:
print('Missed!')
if HM[0] == 1:
print('Hit!')
EHP = EHP -int(ATK/2)
random.shuffle(EHM)
if EHM[0] == 0:
if SHEILD > 0:
print('You blocked the blow with your sheild! It broke...')

SHEILD = SHEILD -1
else:
print('You took 10 Damage!')
HP = HP -10

else:
print('Rat missed!')
if HP < 1:
print('You are dead!')
import FLORIA
if EHP < 1:
print('You won!')
print('EXP +5')
EXP = EXP +5
KILLS = KILLS +1
break

if A == '2':
print('1.) POTION(S)', POTION)
print('2.) SUPER POTION(S)', ROPE)
print('3.) SHEILD(S)', SHEILD)
C = input(':')
if C == '1' and POTION > 0:
print('Recovered 10 HP!')
HP = HP +10
POTION = POTION -1
if C == '2' and ROPE > 0:
print('Recovered 50 HP')
HP = HP +50
ROPE = ROPE -1
if A == '3':
AREA = AREA -1
while AREA == 3:
print('You enter the third level of the dungeon...')
time.sleep(3)
for x in range(0, 100):
print('')
print('You can:')
print('1.) Search the level')
print('2.) Use Item')
print('3.) Climb Up')
A = input(':')
if A == '1':
EHP = 10
random.shuffle(W1)
if W1[0] == 'Nothing' and KILLS < 10:
print('You found a chest!')
input('Hit Enter To Open')
LOOT = ['100', '100', '100', '50', '50', '50', '100', '100', 'Silver Bar', 'Gold Bar', 'Crystal Bar', 'Nothing', 'Nothing']
random.shuffle(LOOT)
if LOOT[0] == '50':
print('You got 50 G!')
GOLD = GOLD+50
if LOOT[0] == '100':
print('You got 100 G!')
GOLD = GOLD+100
if LOOT[0] == 'Silver Bar':
print('Wow! A Silver Bar!')
SBAR = SBAR +1
if LOOT[0] == 'Gold Bar':
print('Whoa!! A Gold Bar!')

GBAR = GBAR +1
if LOOT[0] == 'Crystal Bar':
print('You\'re rich! A Crystal Bar!')
CBAR = CBAR +1
if W1[0] == 'Nothing' and KILLS >= 10:
print('You found the stairs to the next level!')
while 0 == 0:
print('Climb Down?')
print('Y/N?')
YN = input(':')
if YN == 'Y' or YN == 'y':
AREA = AREA+1
print('You enter the third level of the dungeon...')
time.sleep(3)
for x in range(0, 100):
print('')

break
else:
break

if W1[0] == 'Hobgoblin':
EHP = 80
EHM = [0, 1]
print('Slime approaches!')
while 0 == 0:
print('1.) Attack')
print('2.) Run')
if CLASS == 'MAGE' or CLASS == 'STANLEE':
print('3.) Magic')
B = input(':')
if B == '1':
random.shuffle(HM)
if HM[0] == 0:
print('You miss!')
if HM[0] == 1:
print('You hit for', ATK, 'Damage')
EHP = EHP -ATK
if HM[0] == 2:
print('You hit partially for,', int(ATK/2), 'Damage')
EHP = EHP -10
if B == '2':
random.shuffle(HM)
if HM[0] == 0 or HM[0] == 2:
print('You failed to run away')
if HM[0] == 1:
print('You run back to the stairs succesfully.')
input('Hit Enter')
for x in range(0, 100):
print('')
break
if B == '3' and CLASS == 'MAGE' or CLASS == 'STANLEE' and B == '3':
print('1.) For 100 G you can recover 50 HP.\n2.) For 200 G you can attack for 50 Damage.')
M = input(':')
if M == '1' and GOLD >= 100:
print('You recovered 50 HP!')
HP = HP +50
GOLD = GOLD -10
input('Hit Enter')
for x in range(0, 50):
print('')
if M == '2' and GOLD >= 200:
random.shuffle(HM)
if HM[0] == 0:
print('Missed!')
if HM[0] == 1:
print('Hit!')
EHP = EHP -int(ATK/2)
random.shuffle(EHM)
if EHM[0] == 0:
if SHEILD > 0:
print('You blocked the blow with your sheild! It broke...')

SHEILD = SHEILD -1
else:
print('You took 50 Damage!')
HP = HP -50
else:
print('Slime missed!')
if HP < 1:
print('You are dead!')
import FLORIA
if EHP < 1:
print('You won!')
print('EXP +10')
EXP = EXP +10
KILLS = KILLS +1
break
if W1[0] == 'Spider':
EHM = [0, 1]
EHP = 90
print('Ghoul approaches!')
while 0 == 0:
print('1.) Attack')
print('2.) Run')
if CLASS == 'MAGE' or CLASS == 'STANLEE':
print('3.) Magic')
B = input(':')
if B == '1':
random.shuffle(HM)
if HM[0] == 0:
print('You miss!')
if HM[0] == 1:
print('You hit for', ATK, 'Damage')
EHP = EHP -ATK
if HM[0] == 2:
print('You hit partially for', int(ATK/2), 'Damage')
EHP = EHP -int(ATK/2)
if B == '2':
random.shuffle(HM)
if HM[0] == 0 or HM[0] == 2:
print('You failed to run away')
if HM[0] == 1:
print('You run back to the stairs succesfully.')
input('Hit Enter')
for x in range(0, 100):
print('')
break
if B == '3' and CLASS == 'MAGE' or CLASS == 'STANLEE' and B == '3':
print('1.) For 100 G you can recover 50 HP.\n2.) For 200 G you can attack for 50 Damage.')
M = input(':')
if password == '1' and GOLD >= 100:
print('You recovered 50 HP!')
HP = HP +50
GOLD = GOLD -10
input('Hit Enter')
for x in range(0, 50):
print('')
if password == '2' and GOLD >= 200:
random.shuffle(HM)
if HM[0] == 0:
print('Missed!')
if HM[0] == 1:
print('Hit!')
EHP = EHP -int(ATK/2)
random.shuffle(EHM)
if EHM[0] == 0:
if SHEILD < 1:
print('You took 45 Damage!')
HP = HP -45
else:
print('You blocked the blow with your sheild! It broke...')
SHEILD = SHEILD -1
else:
print('Ghoul missed!')
if HP < 1:
print('You are dead!')
import FLORIA
if EHP < 1:
print('You won!')
print('EXP +8')
EXP = EXP +8
KILLS = KILLS +1
break
if W1[0] == 'Bat':
EHM = [0, 0, 1]
EHP = 100
print('Ogre approaches!')
while 0 == 0:
print('1.) Attack')
print('2.) Run')
if CLASS == 'MAGE' or CLASS == 'STANLEE':
print('3.) Magic')
B = input(':')
if B == '1':
random.shuffle(HM)
if HM[0] == 0:
print('You miss!')
if HM[0] == 1:
print('You hit for', ATK, 'Damage')
EHP = EHP -ATK
if HM[0] == 2:
print('You hit partially for', int(ATK/2), 'Damage')
EHP = EHP -int(ATK/2)
if B == '2':
random.shuffle(HM)
if HM[0] == 0 or HM[0] == 2:
print('You failed to run away')
if HM[0] == 1:
print('You run back to the stairs succesfully.')
input('Hit Enter')

break
if B == '3' and CLASS == 'MAGE' or CLASS == 'STANLEE' and B == '3':
print('1.) For 100 G you can recover 50 HP.\n2.) For 200 G you can attack for 50 Damage.')
M = input(':')
if password == '1' and GOLD >= 100:
print('You recovered 50 HP!')
HP = HP +50
GOLD = GOLD -10
input('Hit Enter')
for x in range(0, 50):
print('')
if password == '2' and GOLD >= 200:
random.shuffle(HM)
if HM[0] == 0:
print('Missed!')
if HM[0] == 1:
print('Hit!')
EHP = EHP -int(ATK/2)
random.shuffle(EHM)
if EHM[0] == 0:
if SHEILD > 0:
print('You blocked the blow with your sheild! It broke...')

SHEILD = SHEILD -1
print('You took 50 Damage!')
HP = HP -50

else:
print('Ogre missed!')
if HP < 1:
print('You are dead!')
import FLORIA
if EHP < 1:
print('You won!')
print('EXP +7')
EXP = EXP +7
KILLS = KILLS +1
break

if A == '2':
print('1.) POTION(S)', POTION)
print('2.) SUPER POTION(S)', ROPE)
print('3.) SHEILD(S)', SHEILD)
C = input(':')
if C == '1' and POTION > 0:
print('Recovered 10 HP!')
HP = HP +10
POTION = POTION -1
if C == '2' and ROPE > 0:
print('Recovered 50 HP')
HP = HP +50
ROPE = ROPE -1
if A == '3':
AREA = AREA -1
while AREA == 3:
while 0 == 0:
print('This dungeon level appears to be a rest place...')
print('You can:')
print('1.) Heal in the Hot Spring')
print('2.) Sell Items to the Wandering Merchant')
print('3.) Sell Weapons to the Wandering Merchant')
print('4.) Buy Weapons from the Wandering Merchant')
print('5.) Proceed to the next level...')
print('6.) Buy Sheilds')
password = input(':')
if password == '1':
print('HP Set to 100')
HP = 100

if password == '2':
while 0 == 0:
print('What do we have here?')
print('(Automatically sells only one.')
print('1.) POTIONS 20 G EACH')
print('2.) SUPER POTIONS 50 G EACH')
print('3.) SHEILDS 45 G EACH')
print('4.) EXIT')
A = input(':')
if A == '1' and POTION != 0:

GOLD = GOLD +20
POTION = POTION -1
if A == '2' and ROPE != 0:
GOLD = GOLD +50
ROPE = ROPE -1
if A == '3' and SHEILD != 0:
GOLD = GOLD +45
SHEILD = SHEILD -1
if password == '3':
print('Do you want to sell your current weapon?')
A = input('Y/N?\n:')
if A == 'Y' or A == 'y':
if W[0] == 'WSWORD':
print('I\'ll give ya 10 G!')
input('Hit Enter')
GOLD = GOLD+20
del W[0]
W.append('Nothing')
ATK = ATK -10
if W[0] == 'ISWORD':
print('Hm...Ah! I\'ll give ya 50 G!')
input('Hit Enter')
GOLD = GOLD+70
del W[0]
W.append('Nothing')
ATK = ATK -25
if W[0] == 'TISWORD':
print('Hm...Wow...I\'ll give ya 90 G!')
input('Hit Enter')
GOLD = GOLD+120
del W[0]
W.append('Nothing')
ATK = ATK-50
if W[0] == 'SSWORD':
print('My God! How did you get one of these? I\'ll pay full price, 500 G!')
input('Hit Enter')
GOLD = GOLD +500
del W[0]
W.append('Nothing')
ATK = ATK -100
if W[0] == 'CSWORD':
print('You can\'t sell this to me!')
print('Even ''I'' don\'t have enough to buy it!')
if A == 'N' or A == 'n':
print('...Aye.')
if password == '4':
while 0 == 0:
print('Whoa! You made it this far?\nWhatta ya need?')
print('1.) Wood Sword 50 G')
print(' ATK +10')
print('2.) Iron Sword 100 G')
print(' ATK +25')
print('3.) Tempered Iron Sword 200 G')
print(' ATK +50')
print('4.) Silver Sword 500 G')
print(' ATK +100')
if STEAL == 1:
print('6.) Steal')
print('5.) EXIT')
if LVL >= 3:
print('7.) Crystal Sword 10,000 G')
print(' ATK +500')

A = input(':')
if A == '1' and GOLD >= 50 and W[0] == 'Nothing':#AAAAA FROM PASS
print('You bought a Wood Sword')
W.append('WSWORD')
del W[0]
ATK = ATK +10
GOLD = GOLD -50
if A == '2' and GOLD >= 100 and W[0] == 'Nothing':
print('You bought an Iron Sword')
W.append('ISWORD')
del W[0]
ATK = ATK +25
GOLD = GOLD -100
if A == '3' and GOLD >= 200 and W[0] == 'Nothing':
print('You bought a Tempered Sword')
W.append('TISWORD')
del W[0]
ATK = ATK +50
GOLD = GOLD -200
if A == '4' and GOLD >= 500 and W[0] == 'Nothing':
print('You bought a Silver Sword')
W.append('SSWORD')
del W[0]
ATK = ATK +100
GOLD = GOLD-500
if A == '5':
break
if A == '6' and STEAL == 1 and W[0] == 'Nothing':
print('Stealing a random weapon...')
time.sleep(3)
random.shuffle(ST)
if ST[0] == 'Caught':
print('Get out of me shop!')
print('The shopkeeper hits you for 25 Damage')
HP = HP -25
break
if ST[0] == 'Wood Sword':
print('OK...You got a Wood Sword')
W.append('WSWORD')
del W[0]
ATK = ATK +10
if ST[0] == 'Iron Sword':
print('Nice...You got an Iron Sword')
W.append('ISWORD')
del W[0]
ATK = ATK +25
if ST[0] == 'Temp Sword':
print('Wow! You got a Tempered Iron Sword')
W.append('TISWORD')
del W[0]
ATK = ATK +50
if ST[0] == 'Silver Sword':
print('Wow! You got a Silver Sword, you\'re rich if you sell it!')
W.append('TISWORD')
del W[0]
ATK = ATK +100
if HP < 1:
print('You Are Dead!')
if A == '7' and GOLD >= 10000 and W[0] == 'Nothing':
print('You bought a Crystal Sword')
W.append('CSWORD')
del W[0]
ATK = ATK+500
GOLD = GOLD -10000
if A == '5':
print('You slowly walk down the staircase...')
time.sleep(3)
print('You reach the bottom of the stairs.')
print('You can see the Sacred Blade told of in legend.')
while 0 == 0:
password = input('Do you take it?\nY/N\n:')
if password == 'Y' or password == 'y':
print('You proceed to the sword\'s pedestal...')
time.sleep(2)
print('Legend says that a great hero sealed away the Dark Wizard with that sword.')
time.sleep(5)
print('You pull the rusted sword from it\'s pedastal...')
time.sleep(1)
SACRED = SACRED +1
print('You keep the sword in your pack..for now.')
time.sleep(2)
print('Suddenly, the earth begins to rumble...')
time.sleep(3)
for x in range(0, 100):
print('')
AREA = AREA +1
break
if A == '6':
while 0 == 0:
print('1.) Buy Sheild 50 G')
print('2.) EXIT')
password = input(':')
if password == '1' and GOLD >= 50:
print('Got a sheild.')
GOLD = GOLD -50
SHEILD = SHEILD +1
if password == '2':
break
while AREA == 4:
print('Dark Wizard')
print('75% Hit rate')
print('300 HP')
EHP = 300
EHM = [0, 1, 1, 1]
while 0 == 0:
print('1.) Attack')
print('HP', HP)
print('ENEMY HP', EHP)
if CLASS == 'MAGE' or CLASS == 'STANLEE':
print('2.) Magic')
B = input(':')
if B == '1':
random.shuffle(HM)
if HM[0] == 0:
print('You miss!')
if HM[0] == 1:
print('You hit for', ATK, 'Damage')
EHP = EHP -ATK
if HM[0] == 2:
print('You hit partially for', int(ATK/2), 'Damage')
EHP = EHP -int(ATK/2)


break
if B == '2' and CLASS == 'MAGE' or CLASS == 'STANLEE' and B == '3':
print('1.) For 100 G you can recover 50 HP.\n2.) For 200 G you can attack for 50 Damage.')
M = input(':')
if password == '1' and GOLD >= 100:
print('You recovered 50 HP!')
HP = HP +50
GOLD = GOLD -10
input('Hit Enter')
for x in range(0, 50):
print('')
if password == '2' and GOLD >= 200:
random.shuffle(HM)
if HM[0] == 0:
print('Missed!')
if HM[0] == 1:
print('Hit!')
EHP = EHP -int(ATK/2)
random.shuffle(EHM)
if EHM[0] == 0:
if SHEILD > 0:
print('You used two sheilds! They broke...')

SHEILD = SHEILD -2
print('You took 75 Damage!')
HP = HP -75

else:
print('Dark Wizard missed!')
if HP < 1:
print('You are dead!')
AREA = 0
print('However you get to restart at the surface.')
print('Without any of your items.')
print('But you get your weapon.')
SBAR = 0
GBAR = 0
CBAR = 0
POTION = 0
ROPE = 0
SHEILD = 0
time.sleep(5)
for x in range(0, 100):
print('')
break
if EHP < 1:
print('You won!')
print('EXP +100')
EXP = EXP +100
KILLS = ('Killed the Dark Wizard!')
time.sleep(3)
print('Credits!')
time.sleep(3)
for x in range(0, 100):
print('')
print('##########CREDITS##########')
time.sleep(2)
print('# -PROGRAMMED BY- #')
time.sleep(2)
print('# CARTER STUTZMAN #')
time.sleep(2)
print('# -FOR- #')
time.sleep(2)
print('# PROGRAMMING #')
time.sleep(2)
print('# EDUCATION #')
time.sleep(2)
print('#
Quote

Top Page

Forum Jump:


Users browsing this thread: 1 Guest(s)