搜索资源列表
FiveQi
- 我写的五子棋人机对弈程序,开发环境是Code::Block8.02,是用的Win32 SDK编程,没用任何框架,所以其它开发环境应该把源文件加入工程就OK了,但是我没试过。核心算法参考了Zhong_Zw的程序,特此感谢。本来还想实现博弈树的算法,可是没有调试通过,就放弃了。使用的算法是贪心算法,还有随机算法。-I wrote the man-machine chess backgammon program development environment Code:: Block8.02, is
Licensing
- 发牌斗地主 这是一款随机发牌斗地主的游戏,用到随机算法-This is a licensing Landlords Landlords random game licensing, use random algorithm
CardGame
- 自动算牌游戏 包括了GUI和随机出牌算法-Automatic card counting game includes a GUI and random algorithms of calculating cards
gongzhusrc
- 首先给扑克牌中每张牌设定一个编号,下面算法实现的编号规则如下: 红桃按照从小到大依次为:1-13 方块按照从小到大依次为:14-26 黑桃按照从小到大依次为:27-39 梅花按照从小到大依次为:40-52 小王为53,大王为54 算法实现如下: 首先按照以上编号规则初始化一个包含108个数字的数组每次随机从该数组中抽取一个数字,分配给保存玩家数据的数组 -Each card poker in the first set to
xipai
- 自己写的洗牌算法,已经测试,能够把我们需要的数据经进行随机化。-Write your own shuffling algorithm has been tested to the data we needed after randomization.
黑白棋代码
- 黑白棋C++代码,写了一些简单的AI,(随机落子、一步贪心算法、二步贪心算法)