利用集合模拟斗地主发牌的过程
/**利用集合模拟斗地主发牌的过程@author Administrator*/public class PorkGame_Demo02 {public static void main(String[] args) { // 1.首先用两个字符串数组把数字和花色有序存储起来,由于大小王不能匹配花色,故最后将其加入 String[] porkNum = {"3","4","5","6","7","8","9","10","J","Q","K","A","2"}; String[] po
原创
2020-12-03 16:48:14 ·
162 阅读 ·
0 评论