-
chess
中国象棋
重庆大学出版社出版的《PC游戏编程(人机博弈)》一书的配套光盘内容。(
Discs supporting Chongqing University Press published "PC game programming (man-machine game)," a book)
- 2013-12-17 09:10:12下载
- 积分:1
-
85646465467
VB语言写的扑克牌电脑魔术——读懂你的心源代码.(VB language to write the poker magic computer- read your source code.)
- 2013-08-09 11:36:59下载
- 积分:1
-
8queen
在一个8×8国际象棋盘上,有8个皇后,每个皇后占一格;要求皇后间不会出现相互"攻击"的现象,即不能有两个皇后处在同一行、同一列或同一对角线上。问共有多少种不同的方法。
本算法采用一维数组来进行处理。数组的下标i表示棋盘上的第i列,a[i]的值表示皇后在第i列所放的位置。如:a[1]=5,表示在棋盘的第一例的第五行放一个皇后。(8 × 8 in a chess set, there s eight, each accounting for a Queen s grid request will not be any mutual between Queen s attack phenomenon, that can not have two Queen s in the same line, the same row or the same diagonal. Asked the total number of different ways. This algorithm uses one-dimensional array to be processed. Array subscript i said i chessboard first out, a [i] value that s in the first place i listed by location. Such as: a [1] = 5, said the first cases in the chessboard of the fifth line of a Queen s release.)
- 2007-12-15 22:24:44下载
- 积分: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
-
PlantomGo
幻影围棋棋源代码,参加计算机博弈比大赛亚军的代码。(Phantom Go chess source code, to participate in a computer game than the runner-up code.)
- 2021-01-20 22:48:43下载
- 积分:1
-
chinese-chess
chinese chess,不错的java中国象棋程序(chinese chess)
- 2020-07-03 09:20:01下载
- 积分:1
-
3_09104339
说明: 可以双人对决的VC++围棋程序,游戏打开后可以选择适合15、17寸液晶的窗口,下棋速度很快。
(You can double showdown of the VC++ Go program, the game opens you can select the appropriate 15,17-inch LCD window, playing chess fast.)
- 2010-03-24 11:13:58下载
- 积分:1
-
21point
用JAVA编写的速算21点的小扑克游戏的源代码,可以给大家参考一下(Quick calculation using JAVA 21:00 little poker game source code, you can give your reference)
- 2013-10-08 13:57:51下载
- 积分:1
-
xiangqi.tar
在vc平台下编写的一款简单的开源象棋游戏,人机对战模式。(A simple chess game)
- 2011-11-02 12:55:45下载
- 积分:1
-
5-CCMJ
网狐6.6长春麻将源码Changchun mahjong source network Fox 6.6(Changchun mahjong source network Fox 6.6)
- 2011-10-06 14:54:07下载
- 积分:1