/**
* 扑克
* 花色:
* 牌号:A 2 3 4 5 6 7 8 9 10 J Q K
* 大王、小王
*
* 1.生成一副牌
* 2.然后发牌
*/
public class Poker {
private static List<PokerCard> pokerList;
private static ArrayList<PokerCard> A;
private static ArrayList<PokerCard> B;
private static ArrayList<PokerCard> C;
//无参构造器,初始化一副牌
public Poker() {
String[]colors={"","","",""};
pokerList = new ArrayList<>();
A = new ArrayList<>();
B = new ArrayList<>();
C = new ArrayList<>();
for (int i = 0; i < colors.length; i++) {
PokerCard pc = new PokerCard(colors[i], "A");
pokerList.add(pc);
}
for (int i = 2; i <= 10; i++) {
for (int j = 0; j < colors.length; j++) {
PokerCard pc = n