-
-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
-
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
-
five_vb_tcp
网络VB语言开发的五子棋,工作量是一周的本科毕业设计。(VB language network Gobang development, the workload is one-week graduate design.)
- 2008-12-10 14:52:50下载
- 积分:1
-
wzq
五子棋小程序,实现双人对抗,能完成悔棋,复盘,等基本功能。在玩棋时,能自动判禁手以及判赢。(Gobang small procedures, to achieve double confrontation, to complete悔棋, rehabilitation sites, such as basic features. Playing chess, they can automatically cut the hands and sub-contractors to win.)
- 2008-06-26 21:47:09下载
- 积分:1
-
N01111
射击游戏,吃豆子的游戏,简单的界面,逻辑很流畅(Shooting game, Pacman game, simple interface, logic is smooth)
- 2010-06-15 00:26:58下载
- 积分: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
-
中国象棋源码
运用vc开发的界面象棋游戏,主要运用基本的vc 函数编写.可帮助vc朋友运用算法及函数调用,进一步理解vc的机理.(use vc development of the interface chess games, primarily using basic function vc prepared. Friends can help vc used algorithm and function call, vc further understand the mechanism.)
- 2005-05-24 14:11:28下载
- 积分:1
-
FIVE
自己写的五子棋代码,可以直接执行,效率很高(Write your own backgammon code that can be executed directly, high efficiency)
- 2013-10-10 10:56:31下载
- 积分:1
-
人机对弈
人机对弈五子棋游戏,本游戏使用VC为工具,完成了智能化的机器走棋!(man-machine players 331 games, the game using VC as a tool for the completion of intelligent machines go chess!)
- 2005-04-22 08:20:44下载
- 积分:1
-
FiveChess
一个自己写的五子棋程序。包括人机和双人对战。(Renju program. Including the man-machine and two against.)
- 2012-02-28 12:39:34下载
- 积分:1