#GUESSING. Number Guessing Game

Number Guessing Game

Here is the rule of the game: The computer generates a number from 000000 to 999999, and you should guess the number.

Everytime, the computer will tell you the count of all i from 0..5 that guess[i]==target[i] (A). And the count of all (i,j) from (0..5,0..5) that guess[i]==target[j]&&i!=j (B).

If you find a bug, please contact me.

<noscript>please enable the javascript support. </noscript>

<input type="text" id="Text1" size="6" maxlength="6" value="000000">

<input type="submit" id="Submit1" size="6" value="submit" onclick="gogogo()">