-
c5
Function: // riffle
Description: // 洗牌,然后随机的得到9张牌,要求九张牌不能有重复.
Calls: //
Called By: // main()
Table Accessed: //被修改的表(此项仅对于牵扯到数据库操作的程序)
Table Updated: // 被修改的表(此项仅对于牵扯到数据库操作的程序)
Input: //Card card[] 牌结构, int size 结构数组的大小
Output: //(Function:// riffle Description:// shuffle, and then randomly get nine cards, requiring nine cards can not be duplicated. Calls:// Called By:// main () Table Accessed:// modified table ( This only involves the operation of the database for the program) Table Updated:// modified table (this only involves the operation of the database for the program) Input:// Card card [] licensing structure, int size structure of the array size Output ://)
- 2013-07-23 06:35:33下载
- 积分:1
-
Qi_Liu
在本实验中, Pacman 智能体将找到通过迷宫世界的路径, 既包括到达一个指定的位置,也包括高效地搜集食物。我们编辑文件search.py和searchAgents.py,编写一系列吃豆人程序,包括到达指定位置以及有效的吃豆,并将其应用到Pacman场景,完成对相关人工智能功能的完善。(pacman,achieve search)
- 2018-05-06 14:49:48下载
- 积分:1
-
five
用C++ 实现了五子棋游戏,使用的部分人工智能算法 (Using C++ implementation of the Five in a Row game, using some artificial intelligence algorithms)
- 2010-06-07 17:31:04下载
- 积分:1
-
Horse-Stepping-on-board
在传统中国象棋中,马走日型路线。本代码就是按其规则,让马从棋盘任一点开始,输出它可以行走的所有点的坐标。(In traditional Chinese chess, horse go day-type line. The code according to the rules, let the horse from checkerboard any point, the coordinates of all points of output it can walk.)
- 2012-05-08 16:08:57下载
- 积分:1
-
qipanfugai_matlab
用matlab编写的棋盘覆盖问题的解决,有清楚的注释,帮助学习者了解分治法在类似问题中的应用(Matlab prepared by the board covering problems, clear notes, to help students understand the divide and conquer similar problems)
- 2020-12-03 16:09:25下载
- 积分:1
-
black_white_chess
black white chess
black white chess
black white chess
black white chess
- 2009-09-19 16:14:31下载
- 积分:1
-
SixChess
六子棋人机对弈程序,本人机器人博弈参赛程序,获冠军。(Sixchess p to computer)
- 2020-10-23 23:17:21下载
- 积分:1
-
Russia1.2
俄罗斯方块,加了图片!
一样的俄罗斯方块,
不一样的感觉(Russian box, add the pictures! Like the Russian box, and not the same feeling)
- 2007-03-07 16:57:08下载
- 积分:1
-
-the-poker-game
本程序利用Card类数组模拟扑克牌,定义3个数组分别表示玩家手中的牌,电脑手中的牌和底牌,用srand((unsigned)time(NULL))产生随机数字,将底牌数组中随机的一项从底牌中移动到其他的数组中,模拟从洗好底牌中抓牌。表示出牌。
单人练习模式中,首先记下一个 1到13之间的随机数字,然后玩家抓牌,当手中的牌的点数恰与记下的随机数字相等,或用手中有的任意两张牌,通过加减乘除四则运算可以凑出该随机数字相等的点数,则停止抓牌并将这一张或两张出出去,随即记下一个新的随机数字,开始下一轮,直道手中的全部牌出完,游戏结束(This procedure using Card class array to simulate playing cards, the definition of the 3 arrays represent the game player cards, computer cards and cards, using srand ((unsigned) time (NULL)) to generate random numbers, random number in the array will be a move to the number of cards from other groups of cards, simulation from the wash hand in. Said.
Single practice mode, first recorded random number between 1 to 13 next, and then the game player to draw cards, random number equal when the hand points exactly with the down, or in the hands of some arbitrary two cards, add, subtract, multiply and divide by four operations can make the random number equal points, then stop to draw a card and the card or two cards out, then write a new random number, start the next round, straight hands all the cards out, the end of the game)
- 2013-08-19 15:13:48下载
- 积分:1
-
Ex_FiveChess
使用MFC实现五子棋的简单功能,可以和电脑下棋。(MFC backgammon simple functions, and computer chess.)
- 2013-01-16 21:52:12下载
- 积分:1