objective:
the goal of the game is to guess an unknown 4-digit code.
gameplay:
-
secret code :
a secret 4-digit code made up of unique digits ( 1 to 9 )
-
guessing :
players make a guess by entering a 4-digit number into the input field.
-
feedback:
after each guess, the game provides feedback by providing the number of "cows" and "bulls":
-
cow :
a correct digit in the wrong position.
-
bull :
a correct digit in the correct position.
-
winning :
the game continues until the player correctly guesses the entire code ( 4 bulls ) .
thats about it, enjoy your play