in reply to Array compare

It looks like a mastermind game problem. Look at: Games::Mastermind. I am also interested in variation of this game: "Bulls and Cows".
--Artist