Question: how many possible combinations in mastermind?
Answer: The code is a sequence of four colors chosen from a set of six as is each guess. In the physical game, there are colored pegs that fit into four adjacent holes. The colors may repeat in the sequence, so altogether, there are 64 = 1296 different possible codes (and guesses).