Riddle me this – it's all Greek to me

The Task

Bust of SophoclesSophocles didn't have computers to ask riddles with. He lived about 2,500 years ago after all. But you do...

Your task is to write a computer program that asks the user a riddle.

Your program should:

  1. Ask the user a riddle
  2. Keep asking the riddle until the user answers correctly
  3. Keep a count of how many attempts the user has entered the answer
  4. If the user has guessed the riddle in 3 guesses or fewer it should congratulate them with the message "Well done, you solved my riddle within three guesses"

It's up to you whether you eat the person trying to guess if they don't get it in three goes.

Here are some examples of riddles you could use:

Question: What has 4 eyes but cannot see? Answer: Mississippi

Question: What will break when you say its name? Answer: Silence

Question: The more you take, the more you leave behind. What are they? Answer: Footsteps

I'm sure you can come up with another riddle as well.