-
完整的四人网络麻将游戏
实现了一个完整的四人网络麻将游戏,该程序集服务器与客户端功能与一体。本章主要介绍了非对等的网络服务功能的建立,传输信息的序列化,建立虚拟的三维空间,绘制图形和显示位图,在内存中创建位图和绘制图形等。(achieve a complete network of four mahjong games, the procedures set server and client functions and integration. This chapter introduces the non-reciprocal network services established, the sequence of transmission of information, the establishment of a virtual three-dimensional space, drawing and display bitmap in memory to create bitmap graphics and mapping.)
- 2005-06-20 16:32:22下载
- 积分:1
-
-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
五子棋的实验报告 人工智能 包含的内容很丰富,要了很久,师兄才给的。(very good lecture for)
- 2012-06-08 23:47:07下载
- 积分:1
-
wuziqi
控制台编的五子棋游戏,用的贪心算法,AI不算太高,但希望对像我一样菜的同学有所启发……(Console compiled 331 games, with the greedy algorithm)
- 2011-10-29 19:07:00下载
- 积分:1
-
85646465467
VB语言写的扑克牌电脑魔术——读懂你的心源代码.(VB language to write the poker magic computer- read your source code.)
- 2013-08-09 11:36:59下载
- 积分:1
-
85646465467
VB语言写的扑克牌电脑魔术——读懂你的心源代码.(VB language to write the poker magic computer- read your source code.)
- 2013-08-09 11:36:59下载
- 积分:1
-
VCPP-chess
这是一个vc++的中国象棋的程序设计,较为方便(This is a vc++ programming Chinese chess, more convenient)
- 2015-05-28 10:14:40下载
- 积分:1
-
0206220330
一个用Visal C++编写的俄罗斯方块小程序。(A used Visal C++ Prepared Tetris applet.)
- 2008-07-15 08:44:06下载
- 积分:1
-
luoxuanzhenlie
用C++实现的螺旋阵列,代码少,且看起来简洁明了(Spiral Array Implementation)
- 2010-01-11 19:57:08下载
- 积分:1
-
MyFirstMFC
围棋游戏源码,实现了落子、提子功能。
如果有编译错误,请去掉报错行的空格(“GoChess” Game Source code)
- 2012-08-20 11:26:17下载
- 积分:1