-
-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
-
black_white_chess
black white chess
black white chess
black white chess
black white chess
- 2009-09-19 16:14:31下载
- 积分:1
-
21Point
21点游戏,电脑固定为3张牌,玩家的发牌为两张,玩家可以继续要牌,谁点数大并低于21点则谁胜利。(21game, computer fixed three brand licensing for two players, the players can continue to draw cards, who points to the large and less than 21 points, who victory.)
- 2013-02-21 18:32:40下载
- 积分:1
-
1
关于麻将机的原理以及机械结构,还有就是改良计划(About mahjong machine principle and mechanical structure, there is improvement programs)
- 2013-11-10 22:40:04下载
- 积分:1
-
ChineseChess(源码)
Chinese chess development cases, idle, reproduced the beginning of chess cases, for reference only, such as infringement deleted at any time
- 2019-03-13 00:06:50下载
- 积分:1
-
Tetris-eluosifangkuai
俄罗斯方块汇编语言编写俄罗斯方块汇编语言编写(Compilation of the Russian language box)
- 2009-05-30 16:08:53下载
- 积分:1
-
wuziqi
c语言版五子棋,与pc版一样,拥有良好的界面(c yuyait can run on the pc)
- 2016-12-28 14:26:29下载
- 积分:1
-
flychess
用MFC编写的飞行棋游戏,包括游戏界面、核心算法、走棋动画的实现。(Prepared using MFC flight chess games, including the game interface, the core algorithm, take the chess animation implementation.)
- 2021-04-24 14:18:47下载
- 积分:1
-
fivecheer
网络版本的五子棋.支持聊天,支持20桌同时进行游戏.(network version of the 331. Chat support, the support of 20 tables simultaneously game.)
- 2007-06-07 15:25:20下载
- 积分:1
-
GoMoKu
使用C++开发的多人五子棋网络对战游戏,支持多对玩家同时在线游戏(Using C++ to develop multi player Gobang network game, supporting multiple players online games simultaneously)
- 2018-09-27 14:49:29下载
- 积分:1