Esempio n. 1
0
def main():
    print """\n\n\n\n
    You have the following options:
    \t1: Create your character.
    \t2: Enter the store.
    \t3: Enter the arena to fight.
    \t4: Display player information.
    \t5: Change weapon and armor loadout.
    \t6: Quit
                             Enter a number and press enter."""
    player_choice=input("\n>>")
    if player_choice==1:
	character = generator.Character()
	player = character.genChar()	
    elif player_choice==2:
        store.main()
    elif player_choice==3:
        arena.fight()
    elif player_choice==4:
        info()
    elif player_choice==5:
        change_equipment()
    elif player_choice==6:
        endgame = True
	return endgame
    else:
        main()
Esempio n. 2
0
def main():
    print """\n\n\n\n
    You have the following options:
    \t1: Enter the store.
    \t2: Enter the arena to fight.
    \t3: Display player information.
    \t4: Change weapon and armor loadout.
    \t5: Quit
                             Enter a number and press enter."""
    player_choice=input("\n>>")
    if player_choice==1:
        store.main()
    elif player_choice==2:
        arena.fight()
    elif player_choice==3:
        info()
    elif player_choice==4:
        change_equipment()
    elif player_choice==5:
        endgame()
    else:
        main()
Esempio n. 3
0
def main():
    from store import main

if __name__ == '__main__':
    main()
Esempio n. 4
0
def watch():
    mm = main()
    print mm.songStroageDir
    mm.start()