def slow_print(text): #Creates a function for slow print
for char in text:
print(char, end='', flush=True)
time.sleep(0.025)
print()
slow_print("!!!Tournament System!!!")
def game(): #Creates a function to start the game
name=input(("What is your name? ")) #asks user to input name
slow_print("Welcome to the tournament system " + name)
slow_print("You will have a choice from either academic or sports events.")
slow_print("You will have to select the category you want to participate in.")
slow_print("Select either SPORTS or ACADEMIC.")
print(" ")
select_category() #calls the 'select_category' function
def select_category():
category = input("What category would you like to select? ") #asks user to input
category
if category.lower() == "academic":
slow_print("You have selected academic events")
print(" ")
slow_print("Choose 5 events from this list: ")
print("")
print("1. Chess")
print("2. Cooking")
print("3. Sudoku")
print("4. Spelling")
print("5. Tic Tac Toe")
print("6. Connect 4")
print("7. Checkers")
print("8. Programming")
print("9. Crossword")
print("10. Word Hunt")
print(" ")
aevent_selection()
print("")
elif category.lower() =="sports":
slow_print("You have selected sports events")
print(" ")
slow_print("Choose 5 events from this list: ")
print("")
print("1. Basketball")
print("2. Football")
print("3. Swimming")
print("4. Volleyball")
print("5. Baseball")
print("6. Running")
print("7. Golf")
print("8. Tennis")
print("9. Table Tennis")
print("10. Badminton")
print(" ")
sevent_selection()
else:
select_category() #will repeat if user inputs anything other than academic or