You are trying to guess a three digit number. When you guess a number, the program will tell you how many of the digits you guessed were correct, but not in the right place, and how many that were in the right place. Numbers can include leading zeros, as well as multiple digits of the same number.
All code by me.