ColorCode is a free advanced MasterMind clone with lots of different game variants, from the very easy up to really challenging ones.