Mastermind

Guess the numbers game.

Mastermind is a guess the numbers game. AI generate 3 random secret numbers. The numbers are between 1 to 9, exclude 0. The numbers are not duplicates, ie: 123 is valid but 122 is invalid.

Guess the numbers in 5 chances. After each guess, AI provides feedback how many numbers are correct in both number and position and how many numbers are correct but in wrong position.

Based on previous feedback, analyze and try with different numbers pattern until the guess is correct. Mastermind train analyze skill and memory.