def player_options(deck, player, player_score):
    """
    This function allows the player to hit or stay.
    """
    while True:
        choice = input("Would you like to hit or stay? ")
        print('\n')
        choice = choice.lower()
        if choice == "hit":
            return True
        elif choice == "stay":
            return False
        else:
            print('Invalid!\n')