Description: There are a poker, not including the king and a total of 52 cards Wang.
N individual may be involved in the game of poker, 2 <= n <= 6.
Enter n when the program is running, then turn 52 cards were distributed to n individuals. When not divisible by the number of cards each person may be different, such as three individuals, the first 18 individuals, 2 and 3 of the first 17 individual cards.
After licensing is completed by color (the order of spades, hearts, flowers, squares), and the output of each card size people get cards.
For example:
Enter the number of: 3
Output is as follows:
1st person:
Spades: K 10 5A
Red: 1032
Flowers: K 10 8 6 3 A
Box: Q J 5 2
The first two individuals:
.......
The first three people:
......
Claim:
(1) using an array to store the licensing situation.
(2) the preparation of different ways to perform different functions.
To Search:
File list (Check if you may need any files):
PokerGame
.........\build
.........\build.xml
.........\.....\built-jar.properties
.........\.....\classes
.........\.....\.......\pokergame
.........\.....\.......\.........\PokerGame.class
.........\.....\.......\.........\PokerGame.java
.........\.....\empty
.........\.....\generated-sources
.........\.....\.................\ap-source-output
.........\dist
.........\....\PokerGame.jar
.........\....\README.TXT
.........\manifest.mf
.........\nbproject
.........\.........\build-impl.xml
.........\.........\genfiles.properties
.........\.........\private
.........\.........\.......\config.properties
.........\.........\.......\private.properties
.........\.........\.......\private.xml
.........\.........\project.properties
.........\.........\project.xml
.........\src
.........\...\pokergame
.........\...\.........\PokerGame.java