-
-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
-
wuziqi
五子棋小程序,基于MFC的编程,简单的小程序(Backgammon program, based MFC)
- 2012-12-09 15:56:37下载
- 积分:1
-
black_white_chess
black white chess
black white chess
black white chess
black white chess
- 2009-09-19 16:14:31下载
- 积分:1
-
wuziqi
五子棋的实验报告 人工智能 包含的内容很丰富,要了很久,师兄才给的。(very good lecture for)
- 2012-06-08 23:47:07下载
- 积分:1
-
renjixiaqi
人机下棋:在3×3棋盘上,计算机为一方,用户为一方,交替画“X”和“O”,在行、列、对角线上谁先练成一条直线谁就获得胜利。用类的思想完成,具体功能要求如下:
(1)状态显示:计算机可正确显示棋盘,给出提示信息和胜负判断。
(2)用户选择:用户可以选择是先下还是后下,并选择棋子是“X”还是“O”。
(3)每一步都用图形化方式顺序输出
(Man-machine chess: on the 3 X 3 board, the computer for one party, the user for a party, draw an X and O alternately, in the row, column and diagonal who practice who would win in a straight line. Finish, with the ideas of the class specific functional requirements are as follows:
(1) status display: the computer can correctly display board, giving prompt information and the outcome of judgment.
(2) the user choice: the user can next is first or after, and the pieces is a X or O .)
- 2020-07-04 13:00:02下载
- 积分:1
-
FiveChess
网络版的VB五子棋,CS结构,含游戏大厅.(Online version of the VB backgammon, CS structures, including the game lobby.)
- 2013-08-03 22:35:13下载
- 积分:1
-
LLK1.41_FullSources
连连看.net代码。最新更新的,VS2005开发。(Lianliankan. Net code. The latest update, VS2005 development.)
- 2008-04-18 09:28:04下载
- 积分:1
-
wuziqi
五子棋巧妙设计,可以帮你设计出界面丰富的五子棋,很好玩(Backgammon clever design can help you design the 331 interface, a lot of fun)
- 2012-05-21 18:25:06下载
- 积分:1
-
Gomoku
简单五子棋,简单学习算法,很弱的AI,原文是Python语句,现改写位c++(Simple backgammon, simple learning algorithm, very weak AI, the original is a Python statement, is now rewritten bit c++)
- 2017-06-19 22:08:12下载
- 积分:1
-
wuziqiyouxi
五子棋游戏,实现人工智能。单机游戏和多机游戏实现过程。(Backgammon games, achieve artificial intelligence. Single and multi-game machine game implementation process.)
- 2013-12-09 19:04:44下载
- 积分:1