Design a deck of cards that can be used for different card game applications. Then write me an algorithm that will shuffle this deck of cards, and write junit tests (as many test cases as you can come up) to make sure it will work properly. Please make sure the program can be compiled and run. This is an algorithm question, so pls do not use any existing API. You need implement it yourself. And then send me the translation and the entire code and ant build file in zip or rar
解决方案 »
- 怎么在person类实现implements interface abstract
- 请大虾帮帮忙看下
- 请教一个组合键的判断问题,如果判断ctrl+a这样的键盘事件呢?
- Java和。net那个技术有前途
- 刚学java小应用程序,显示问题,老鸟们都进来指定一下呀!!!小弟万分感谢
- 【200分】J2ME游戏想交给移动提供下载收费服务,如何做?我的程序想发布到国外,有些什么比较好的站点?
- 一道改不出来的改错题
- 有关log4j的简单问题
- 请教:我的程序出错,我不知道如何解决?????
- 数据库连不上
- 我这个程序中的Action接口中的SHORT_DESCRIPTION怎么显示不出来呀
- 一半不是自己编写的,搞了1个多小时,结果编译还是出错了,请指教
实现这么一个功能:可以玩不同的纸牌游戏
另外要提供一个洗牌的算法,尽可能多的写测试程序以保证它的正确性
保证你所提供的程序能够正确编译和运行
不要用现存的API,并且希望悄能够独立完成
最后让你把完整的代码以及用ANT编译后打成zip或者RAR文件发送给他应该是这个意思吧
洗牌的话是不是要尽量打散,还是完全随机即可?