I want to build a guessing game that requires an input to enter a valid 4-digit to guess the random number generated by a workflow.
For each attempt, I want to show how close the entered number is to the random number generated . So if the randomly generated number is 1234 and an user enters 1110, I want to prompt a message box to show “1P” and “0N” respectively. “1P” signifies one correct number and in the correct position (in this case number 1)while “0N” signifies no other correct number contained within the randomly generated number.
Any inputs will be appreciated!