def evaluate_choice (): ask = input ("Which game do you want to play?") if ask == "Even or odd" or ask == "even or odd": games.evenorodd () if ask == "Rock Paper Scissors" or ask == "rock paper scissors": games.rockpaperscissors() if ask == "Hangman" or ask == "hangman": games.hangman () if ask == "Madlib" or ask == "madlib":
def evaluate_choice(): player_choice = input("What game do you want to play?") if player_choice == "Even or Odd": games.evenorodd() if player_choice == "Rock, Paper, Scissors": games.rock_paper_scissors() if player_choice == "Guess the number": games.guess_the_num() if player_choice == "Hangman": games.hangman()
def evaluate_choice(): #TODO: ask the player which game they wish to play player_choice = input("What game do you want to play? \n") #TODO: run that particular game by calling the respective game with the dot notation if player_choice == "even or odd": games.evenorodd() elif player_choice == "rock, paper, scissors": games.rps() elif player_choice == "madlibs": games.madlibs() elif player_choice == "number guess": games.number_game()
def evaluate_choice(): player_choice = input("""Welcome to the Online Arcade. Here you can play Guess The Number, Rock-Paper-Scissors, or Even or Odd. Just type 'gtn', 'rps', or 'eo'""") if player_choice == "gtn": games.guessthenumber() if player_choice == "rps": games.rockpaperscissors() if player_choice == "eo": games.evenorodd() else: print("ERROR 404: Response Not Found")
def evaluate_choice(): player_choice = input("What game would you like to play? ") if player_choice == "Even or odd": games.evenorodd() if player_choice == "Riddle": games.riddle()
def evaluate_choice(): player_choice = input("What game do you want to play? ") if player_choice == "Even or odd": games.evenorodd() if player_choice == "Guess the Number": games.guess_the_number()
def eval_choice(): player_choice = input("What game do you want to play?") if player_choice == "EO2": games.evenorodd() if player_choice == "GTN": games.guess_the_num()