Exemplo n.º 1
0
def startJourney():
    person = input(
        "\nWelcome to the world of pokemon! I'm professor Oak. WHOMST must you be?"
    )
    choice = 2
    while (not (choice == 1 or choice == 4 or choice == 7)):
        choice = int(
            input(
                "\n" + str(person) +
                ", I'll hand over a starter to you. Choose between Bulbasaur, Squirtle, and Charmander (1,4,7)"
            ))
    starter = Pokemon(getPoke(choice), 5)
    print("\n" + starter.toString() + "\nhas been added to your team!")
    starter.obtainMoves()
    user = Trainer(str(person))
    starter.setOwner(user.getName())
    user.catchPoke(starter)
    continueJourney(user)