-
-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
-
chess
中国象棋
重庆大学出版社出版的《PC游戏编程(人机博弈)》一书的配套光盘内容。(
Discs supporting Chongqing University Press published "PC game programming (man-machine game)," a book)
- 2013-12-17 09:10:12下载
- 积分:1
-
wuziqi
五子棋程序设计,设计方式步骤详尽解释,适合初学者,让你熟悉C语言(Backgammon program design, design approach procedure detailed explanation, suitable for beginners, so you are familiar with the C language)
- 2013-08-13 10:31:30下载
- 积分:1
-
FiveChess
网络版的VB五子棋,CS结构,含游戏大厅.(Online version of the VB backgammon, CS structures, including the game lobby.)
- 2013-08-03 22:35:13下载
- 积分:1
-
chess
局域网内的五子棋游戏,WIN32编程,可以很好的学习windows消息机制(Backgammon games, WIN32 programming LAN can be a good learning windows message mechanism)
- 2015-06-24 15:52:06下载
- 积分:1
-
chess-gamePnet
socket实现象棋游戏联网,程序中iP和port已指定,运行时根据自己的ip改下就行(chinese chess)
- 2012-03-04 22:15:28下载
- 积分:1
-
Backgammon
五子连珠的VC源码,简单有趣 (Five or VC source, easy and fun )
- 2013-07-20 17:54:18下载
- 积分:1
-
五子棋游戏C++源码
个人开发五子棋游戏的源代码,利用MFC实现,仅供参考!(personal development renju game's source code, using MFC for reference!)
- 2005-06-08 15:31:50下载
- 积分:1
-
surakarta
这是一个苏拉卡尔塔的程序 包括界面设计和后台代码(This is a program of Surakarta, including interface design and code-behind)
- 2020-10-22 17:47:23下载
- 积分:1
-
gobang-game
基于控制台的五子棋游戏,用easyX提供的图形接口进行编写,适合初学者,简单易懂,注释全面。注:安装图形库需要去EasyX官网下载“2012立冬版”,必须是这个版本,因为后来新的版本对有些函数做了调整,导致显示会有问题。(Console-based backgammon game, the graphical interface provided by easyX be written for beginners, easy to understand, comprehensive notes. Note: Installing graphics libraries need to EasyX official website to download " 2012 Lidong Edition" , must be this version, because the new version was made adjustments for some functions, resulting in the display there will be problems.)
- 2014-10-11 14:53:47下载
- 积分:1