Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- username = ""
- def tutorial01():
- print ("The tutorial is currently in progress...")
- time.sleep(2)
- print ("Sorry for the inconvenience!")
- time.sleep(2)
- print("")
- print ("***************************************************************************************\n")
- time.sleep(2)
- main()
- def signup():
- global name
- print ("Please enter the requirements below")
- print ("------------------------------------")
- username = input("Please enter your username: ")
- password = input("Please enter your password: ")
- for repeat in range (6):
- if repeat ==3:
- print("")
- print ("***************************************************************************************\n")
- time.sleep(2)
- print ("Hello" ,username , "How are you today?")
- time.sleep(2)
- print ("Welcome to Layton's text RPG.")
- time.sleep(2)
- print ("I'm going to show you the basics on what to do within this game!")
- time.sleep(2)
- print("")
- print ("***************************************************************************************\n")
- time.sleep(2)
- tutorial01()
- def main():
- while True:
- print("Please choose from the following options:\n")
- print("1 - Sign Up.\n")
- print("2 - Login.\n")
- print("Q Exit the program.\n")
- userChoice = input()
- if userChoice == "1":
- print("\n***************************************************************************************\n")
- signup()
- elif userChoice == "2":
- print("\n***************************************************************************************\n")
- login()
- elif userChoice == "q" or userChoice == "Q":
- break
- if __name__ == "__main__":
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement