搜索资源列表
hm3
- 实现扑克牌的洗牌算法。 将52张牌(不包括大、小王)按东、南、西、北分发。 每张牌用一个对象代表,包括:牌的类型、大小序号、名称。 例如:黑头A的牌型为S,序号为13(在K之后),名称为A。 比较牌大小时按序号比较大小(2的序号最小、A最大) 显示牌时将按牌型、名称显示。 例如:东家最后牌为: S:1,4,12 H:7,9 D:2,4,8,10 C:4,5,12,13 注: 洗牌次数可用随机数来确定, Math.random()的
chessgamemove
- 棋类游戏走步计算,采用最大化最小化算法,beta剪枝-chess game walk, the maximum and minimum use of algorithms, beta pruning
Cwin4
- 四子棋的小游戏,实现了几个人工智能,最高级的算法还是有点难度的,本人自己都很难下赢-four small-game of chess, achieving several artificial intelligence, the most senior algorithm is a little harder, I own are very hard to win
bashuma
- 用三种不同的搜索算法解决八数码问题,使得通过最短的路径和最小的消耗到达目标状态。-Three different search algorithms to solve the problem eight digital, making the shortest path and minimum through the consumption of the state to reach the target.
eluosi
- 一个bitmap的俄罗斯游戏,方块的算法是用最小图元拼接成的,很值得一看哦!~-A bitmap of the Russian game, the box algorithm is spliced into the smallest pixel, and is worth a look oh! ~
sudoku
- 一个数独的游戏,不但能够自己玩数独游戏,还可以填数让机器去解,也可以让机器出题。界面程序,还能给用户一些提示。 2年前用VS2005开发的,我认为核心和最有意思部分是解数独和出数独的题这一块,所以我后来给这部分功能加了详细的注释。解数独的算法比较好研究,而出数独题则是比较麻烦的,我这里给出了我自己想的一种算法,让机器很快的出一道只有唯一解、已有的数字量合适而且不矛盾的数独题目也是需要很好的算法设计的。而界面我都没加注释,重点关注界面的网友抱歉了。解数独和出数独的在sodukuA.h和s
DivideCardGame
- 游戏规则:将总数为M的纸牌(是N的倍数),任意的划分成成数目不等的N堆,然后经过下列规则的移动,使得每堆牌的数目相等:1.要向第i堆牌移动牌,只能从i+1堆或i-1堆中取得;2.第一堆牌只能从第二堆牌中取得;3.第N堆牌只能从第N-1堆牌中取得。 算法要求:求解均分时的最小移动次数-Rules of the game: the total M of the card (which is a multiple of N), divided into any number ranging fro
fivesstone
- 五子棋小游戏,基于最优博弈树算法,有不同棋力等级。老少咸宜。-a very funny game, five stone is a game make people clever and clever,enjoy it!
AmbulanceSchedule
- 一个 VISUO studio 平台 MFC语言编写的小游戏 用到最短路径算法-Studio platforms-VISUO MFC language to write a small game to use the shortest path algorithm
duiduipeng
- 都是些小游戏 实现下算法 对对碰 可能不是最优的算法 但是功能基本相同 大家参考一下吧-The following are some small game to achieve the right touch algorithm may not be optimal but the functionality is basically the same algorithm we refer to it
homework_game
- 就是一个用MATLAB实做的小游戏,包括了游戏界面,自动寻路算法,自动搜索最短路径等等。(A small game of maze used Matlab)
