Description: 1.1 introduction of program functions
A 21 - point playing card game, the player can have 5 CARDS in total, but if the number of CARDS more than 21 points, then it will be violent, automatically out; In the case of no more than 21 points, the player is the size of the dealer and the big one wins.
1.2 programming requirements
(1) encapsulate all functions and corresponding data into classes, and rewrite the main program to simplify the program.
(2) a total of 13 CARDS can be drawn in the program, with a point of 0.5.
(3) ask the zhuang family to never go to the estate. A few bookmakers can check the next card, if it is more than 21, then refuse, of course, not to reveal this secret in the rules of the game.
(4) the advanced player can view the next card, that is, press H, then enter the password according to the requirement, the password can be read correctly, and decide whether to play the card.
Super players can view and modify the next card, that is, input the specified character or string, and then enter the password as requested, the password is correct, you can see his next card and computer, and specify the next card points.
(5) after each card, you can set the odds, that is, if you start with a ten-yuan note, if the card is good, you can ask for a second bet, but you can't exceed your total amount.
(6) the interface should be changed to Chinese interface, and the explanation of the interface is very friendly and can attract more players.
To Search:
- [dbcdesign] - Design By Contract on the PPT document
- [djb] - queue data structure source : the order
- [StackUp_game] - a very cool game, with DirectX 3D engine
- [source-3.1.2] - Card game client source code, including
- [CardGame] - Poker game source code, using C++ Prepar
- [3D-Snake] - OpenGL using the original 2D state贪食蛇imp
- [tanke] - Is a Tankedaizhan game, games make it ve
- [runfast] - " Run fast" is circulating in th
File list (Check if you may need any files):