Description: Add, subtract, multiply and divide the game of poker, is a set of skill and luck in one of the poker game.
Reality can play single, can also be set by the number of combat, with a number of Poker King can remove the game, recommend using a deck of cards double confrontation, fun.
This procedure using Card array of simulated playing cards, to define a 3 array of said game player cards, computer cards and cards, using srand ( ( unsigned ) time ( NULL ) ) to produce random numbers, will hand in random array a from the hand moves to the other array, simulated from the laundry hand draw. Express card.
Single practice mode, the first note of a random number between1 to13, and then the game player to draw a card, when the hand points exactly and note down the random numbers are equal, or have any two cards, add, subtract, multiply and divide by four operations can make the random number equal points, then stop to draw a card and the card or two cards out, then write down a new random numbe
To Search:
File list (Check if you may need any files):
扑克牌加减乘除游戏.docx