- Category:
- SCM
- Tags:
-
- File Size:
- 645kb
- Update:
- 2012-11-26
- Downloads:
- 0 Times
- Uploaded by:
- 234947040
Description: Number guessing game
This is a must for players in the rules and the system prompt, the projection of a randomly generated four-digit game, the four digits of you
Not the same. Rules of the game are as follows:
System generates a random four-digit, different digital players followed by the keyboard input 4-digit, the wrong can press the backspace key repair
Changed, losers press the Enter key to confirm, then the system to determine if there are x number of guess the number and location of same with the same answer to digital (which
Pieces of code that with A), y have the same numbers but with different positions of digital answer (indicated with B in the condition code), the output xAyB. Such as
The answer is 2639, enter 1692, then display the results confirmed 1A2B. Then the player by analyzing the re-enter the new number until guess
The answer. Board games every 10 chances, and 100-second countdown to increase the pressure on the players.
The system uses the CPLD as a host
To Search:
File list (Check if you may need any files):
单片机&CPLD + 1 + A设计源码.rar
单片机&CPLD + 1 + A文稿.rar