This is not a programming question per se, although the ultimate goal is to devise an algorithm. I'm looking for references or at least the name of a type of game. It is pretty widespread on television game-shows. The game is as follows:
You have a number of slots, each slot contains an item (from some finite set), which you don't know. You have to guess what each slot contains. You tell your guess to the judge (who knows what each slot contains) and he tells you how many guesses are correct, without telling you which. The game ends when you successfully guess all items.
I'd be interested in any information about this type of game, including references to algorithms for solving in the least possible guesses, etc. Just the name so I can google it would also be fine.
Thanks!