首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > Java编程 做一个发牌的程序 首先是创造牌(牌会有1

Java编程 做一个发牌的程序 首先是创造牌(牌会有1

资 源 简 介

Java编程 做一个发牌的程序 首先是创造牌(牌会有1-6付选择),然后洗牌:将牌一分二,由( x(k+1) = (5xk mod 16) + 1 )来依次从两边取牌,直至牌不够,就将牌合起来。然后将牌发给2-60人,每人5张牌。 可以使用java.util.List, java.util.Collection, java.util.Iterator, and java.util.ListIterator,最好用Arraylist来做。像牌数和人数,由输入决定 -Java program to do a licensing program is to create the first card (brand-sum option would be 1-6), and then shuffle: The license for one sub-2, from (x (k+1) = (5xk mod 16)+ 1 ) to turn from both sides to take a license until the license is not enough, it will be brand together. Then the card issued to 2-60, with each person 5 cards. You can use java.util.List , Java.util.Collection , Java.util.Iterator , And java.util.ListIterator, preferably Arraylist do. Such as the number of licenses and the number of input decision

文 件 列 表

发牌程序.doc

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP
0.209315s