import random

# Define the fruit and number words
fruits = ['pear']
number_words = ['forty-one']

# Function to generate a random fruit and number word
def get_random_fruit_and_number():
    fruit = random.choice(fruits)
    number_word = random.choice(number_words)
    return fruit, number_word

# Function to display the game
def play_game():
    print("Welcome to the Number Words Fruit Splat Game!")
    print("Match the number word to the correct number of fruits.")
    
    score = 0
    while True:
        fruit, number_word = get_random_fruit_and_number()
        print(f"How many {fruit}s are there?")
        user_input = input("Enter the number word: ")
        
        if user_input.lower() == number_word:
            print("Correct!")
            score += 1
        else:
            print(f"Incorrect. The correct answer is {number_word}.")
        
        print(f"Your current score is: {score}")
        
        play_again = input("Do you want to play again? (y/n) ")
        if play_again.lower() != 'y':
            break

if __name__ == "__main__":
    play_game()