Magi Gift Wrap is a simple puzzle game (aka Mastermind clone).

Your goal is to make the wise man a beautifully wrapped gift. Unfortunately, only the wise man knows exactly what he wants the gift to look like. He will drop you hints in the form of two numbers: one which gives you the number of parts of the gift you have right, and the number of right colors that are on the wrong parts of the gift.

http://www.drunkencoders.com/compo/index.php?page=entries