-
-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
-
BWChess
C++开发的BWChess黑白棋游戏,界面差不多,功能挺多的,可以与电脑下棋也可以人与人对战,可以提醒,记录对战排行榜。(C++ development BWChess Reversi game, the interface is similar to the挺多function, you can play chess with the computer can also be against people can be reminded to record against the list.)
- 2009-07-12 11:13:40下载
- 积分:1
-
vc五子棋网络版本1.0
网络五子棋系统,用vc实现.学习vc对话框编程,网络编程。(331 network system, using vc achieve. Learning vc dialog programming, network programming.)
- 2005-06-16 12:03:04下载
- 积分:1
-
Amazon-chess-game
亚马逊棋人机博弈代码,界面美观,满足深层搜索。(Amazon chess game code, beautiful interface, meet the deep search.)
- 2020-11-16 09:49:40下载
- 积分:1
-
FiveChess
一个自己写的五子棋程序。包括人机和双人对战。(Renju program. Including the man-machine and two against.)
- 2012-02-28 12:39:34下载
- 积分:1
-
WuZi
JAVA写的简单五子棋程序,无人工智能,两个玩家玩(JAVA written backgammon, no artificial intelligence, two players play)
- 2013-09-03 14:11:00下载
- 积分:1
-
Chess_Easy
基于Visual C++实现的局域网象棋游戏,Socket通信,多线程。(design the chess game by use Visual C++ , Socket technology, Mutil Thread.)
- 2013-09-17 19:04:26下载
- 积分:1
-
luoxuanzhenlie
用C++实现的螺旋阵列,代码少,且看起来简洁明了(Spiral Array Implementation)
- 2010-01-11 19:57:08下载
- 积分:1
-
black_white_chess
black white chess
black white chess
black white chess
black white chess
- 2009-09-19 16:14:31下载
- 积分: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