Description: 1.A party out of the digital, the other to guess the number
2.The digital side would like a good first one did not repeat digits 4 digits as the target figure (can not let the guessing side to know)
3 Guessing provided by a 4 guess digital
. The digital side to guess figures and target figures calculated a few A few B as a feedback to guessing
Where A is in front of numbers indicate the location of the correct number of the number of figures before B, correct but incorrect location number that represents the number
Number
Such as target figures for "5234", guess the number "5346", the feedback is 1A2B: "5" the number and location are
Indeed, denoted by 1A "3" and 4 "figure is correct but the position error, denoted by 2B
5 guess figures and target figures are identical (feedback 4A0B), the speculation success, the game is over
6. Guess figures and target figures (the number of A s feedback is less than 4), guessing the party according to the existing feedback letter
In
To Search:
File list (Check if you may need any files):
CSZ.java