-
-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
-
java-FiveChess
五子棋游戏
游戏开始要求:
输出一下棋盘,然后提示黑方和白方下子,玩家从
命令行输入:af,表示在af坐标落子,其中黑方的
子用@表示,白方子用O表示,每一方有一方落子,
则要重新输出棋盘的状态,程序还要求能判断某一方
获胜并终止程序。(Backgammon games started to demand: output about the board, and then prompted Black and White Now, players from the command line enter: af, af coordinates expressed in the Laozi, in which a child with @ Black said Bai Fangzi with O that each Lazi one one side, the state will have to re-output board, the program also required to determine the winning party and terminate the program.)
- 2011-06-04 22:52:10下载
- 积分:1
-
vb_source
VB版纸牌源码(VB source code version of Solitaire)
- 2008-07-02 22:37:12下载
- 积分:1
-
down
C++ Builder开发的四川麻将.具有商业游戏的风格.(C++ Builder developed by Sichuan mahjong. With commercial game style.)
- 2008-04-21 22:44:51下载
- 积分:1
-
C_lanugae_BlackAndWhiteGames
黑白棋小程序的源代码,黑白棋的是一种智力游戏,采用了C++来实现这一种经典游戏(Othello applet source code, Othello is a mental game, using the C++ to achieve this a classic game)
- 2010-12-23 14:10:49下载
- 积分:1
-
Russia1.2
俄罗斯方块,加了图片!
一样的俄罗斯方块,
不一样的感觉(Russian box, add the pictures! Like the Russian box, and not the same feeling)
- 2007-03-07 16:57:08下载
- 积分:1
-
Tetris-eluosifangkuai
俄罗斯方块汇编语言编写俄罗斯方块汇编语言编写(Compilation of the Russian language box)
- 2009-05-30 16:08:53下载
- 积分:1
-
BcbChess
C++Builder程序设计范例:中国象棋 / 胡达著 出版发行 北京 : 清华大学出版社, 2002
的附带光盘,用c++Builder实现一个简单的象棋程序
(C++ Builder Program Design Example: Chinese Chess/Huda published a Beijing: Tsinghua University Press, 2002 spin-off CD-ROM, with c++ Builder realize a simple chess program)
- 2008-04-07 23:05:11下载
- 积分:1
-
netliuziqi
是一个网络游戏,网上大部分为网络五子棋,此程序为六子棋。(Is an online game, online most of the network Gobang that this procedure for the six sub-game.)
- 2020-10-20 16:17:25下载
- 积分:1
-
wuziqi
简单实用的五子棋小游戏.好像有点弱智...(Simple and Practical Renju game. A little bit mentally retarded)
- 2009-09-15 11:05:01下载
- 积分:1