Give user 5 chances to guess my favorite color

I wrote a script to give a user 5 guesses on what is my favorite color but I it doesn't work. I've only been scripting for a couple weeks and need some help it seems simple but how do I give the user 5 guesses?

Please post what you have done so far.

guess=1
while [ "${guess}" -le 5 ]; do
...
increment guess
done

with bash:

for ((guess=1; guess <= 5; guess++)); do
...
done

From a guy's point of view there is only a maximum of six answers, and you are giving the user 5 chances to guess it ??

  • Red
  • Blue
  • Green
  • Orange
  • Purple
  • Yellow
  • White and Black don't count, they are hues, not colors.

This is satiric for those that don't get it. Besides, this is obvious homework.