Go to the interface picture first:
Game rules:
1. At the beginning of the game, the computer randomly generates a four-digit number that does not repeat.
2. Enter the number you guessed in the box and press ENTER or OK to submit the information.
3. The computer compares the number you submitted with the number it automatically generated. The result is displayed as "* a * B ". A indicates that the position is correct. B indicates that the number is correct but the position is incorrect. For example, "2a2b" indicates that you have two numbers in the correct position and the value is correct. In addition, you still guessed two numbers, but the location is incorrect.
4. You have a total of 8 chances. If the result is "4a0b" within 10 times, the game is successful. If you haven't guessed that the game has failed for eight times.
Game download andSource code:
SourceCode(Vs2008c #) http://files.cnblogs.com/luckeryin/Bingle.rar
GamesProgram: Http://files.cnblogs.com/luckeryin/Bingle_Source.rar