Description: Experiment 2 licensing game
Types of experiments : confirmatory
Purpose : to master Java arrays, methods, basic class definition .
Experiment:
Programming, project name and class name are PokerGame.
Description :
There are a poker , not including the king and Wang were 52 cards.
N individuals may participate in poker games , 2 <= n <= 6.
Enter n runs, then 52 cards are in turn distributed to n individuals. When not divisible , each person can vary the number of cards , such as three individuals , the first 1 person 18 , Section 2 and 3 of the 17 individual cards .
After the completion of the licensing by color ( the order of spades, hearts, flowers , boxes ) and the output of each card size people get cards.
For example:
Enter the number of : 3
The output is as follows :
1st person :
Spades : K 10 5A
Red : 1032
Flower : K 10 8 6 3 A
Box : Q J 5 2
The first two individuals :
.......
The first three individuals :
......
Requirements:
( 1 ) using an array to s
To Search:
File list (Check if you may need any files):
PokerGame
.........\build
.........\.....\built-jar.properties
.........\.....\classes
.........\.....\.......\PokerGame.class
.........\.....\empty
.........\.....\generated-sources
.........\.....\.................\ap-source-output
.........\build.xml
.........\dist
.........\....\PokerGame.jar
.........\nbproject
.........\.........\build-impl.xml
.........\.........\genfiles.properties
.........\.........\private
.........\.........\.......\config.properties
.........\.........\.......\private.properties
.........\.........\.......\private.xml
.........\.........\project.properties
.........\.........\project.xml
.........\src
.........\...\PokerGame.java