Description: Design a 21-point game, rules of the game are as follows: two players, one person, one computer. First, the computer randomly send two cards to human players (cards not re-
Complex representation, licensing of color grades, such as hearts 8), then the players through their own judgment and then choose whether to continue
To license. If you want, then randomly assigned to continue the player a card, if all the cards at this point is greater than 21, the penalty
Off players to lose, and if not, then the player can continue to choose to license or not. If you do not license, then the order of human players
The end of the segment. Turn the computer. PC gamers stage with the same phase. Computer first two cards they want, and then the
Computer to determine whether to continue to license its own, the most important basis of human judgment is just to win the player to stop. The winners and losers are
In accordance with the number of points the two cards, the winning party is a part
To Search:
File list (Check if you may need any files):
homework_2\bin\Debug\homework_2.exe
..........\homework_2.cbp
..........\homework_2.layout
..........\main.cpp
..........\obj\Debug\main.o
..........\bin\Debug
..........\obj\Debug
..........\bin
..........\obj
homework_2