Example #1
0
def monsterEncounter(
):  # I think this would be better than monsterMove for a few reasons. Just an idea, though.
    monsterChance = random.randint(1, 5)
    if monsterChance >= 4:
        monsterRandomize()
        use_weapons()
        battleInput()
        playerHealth = playerHealthDev()
        if playerHealth < 1:
            print ""
            print "GAME OVER -- You ran out of lives."
            time.sleep(3)
            quit()
Example #2
0
def health_xp():  # This function is for returning variables
    playerHealth = playerHealthDev()
    return playerHealth
Example #3
0
def health_xp():  #This function is for returning variables
    playerHealth = playerHealthDev()
    return playerHealth