-
tmp
编写一个模拟人工洗牌的程序,将洗好的牌分别发给四个人。
使用结构card 来描述一张牌,用随机函数来模拟人工洗牌的过程,最后将洗好的52张牌顺序分别发给四个人。
对每个人的牌要按桥牌的规则输出。即一个人的牌要先按牌的花色(顺序为梅花、方块、红心和黑桃)进行分类,同一类的牌要再按A、K、Q、J、…、3、2牌的大小顺序排列。另发牌应按四个人的顺序依次分发。(Write a simulation program manual shuffle, the cards were sent to wash a good four. Card use to describe the structure of a card, with the random function to simulate the manual process of shuffling, and finally wash the good order of 52 cards were issued to four people. Cards for each person according to the rules of bridge output. That is, a person' s license have to press the card suit (in order of clubs, diamonds, hearts and spades) classification, the same type of licenses to press A, K, Q, J, ..., 3,2 card the size of the order. The other four licensing the order should be distributed.)
- 2011-11-30 13:15:30下载
- 积分:1
-
完整的四人网络麻将游戏
实现了一个完整的四人网络麻将游戏,该程序集服务器与客户端功能与一体。本章主要介绍了非对等的网络服务功能的建立,传输信息的序列化,建立虚拟的三维空间,绘制图形和显示位图,在内存中创建位图和绘制图形等。(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
-
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
-
MyChess5
用API实现的五子棋程序,人人版,对C++API程序的初学者应该有一定的帮助(Backgammon program with the API implementation, all versions of C++ API program should be helpful for beginners)
- 2011-11-18 10:56:24下载
- 积分:1
-
fivecheer
网络版本的五子棋.支持聊天,支持20桌同时进行游戏.(network version of the 331. Chat support, the support of 20 tables simultaneously game.)
- 2007-06-07 15:25:20下载
- 积分:1
-
penball
说明: C++语言实现弹球游戏,图形界面更加美观,声音丰富(C++ language pinball game, a graphical interface even more beautiful, rich sound)
- 2011-04-02 09:42:00下载
- 积分:1
-
MyFirstMFC
围棋游戏源码,实现了落子、提子功能。
如果有编译错误,请去掉报错行的空格(“GoChess” Game Source code)
- 2012-08-20 11:26:17下载
- 积分:1
-
PlantomGo
幻影围棋棋源代码,参加计算机博弈比大赛亚军的代码。(Phantom Go chess source code, to participate in a computer game than the runner-up code.)
- 2021-01-20 22:48:43下载
- 积分:1
-
HRBUST_GO_2013_08_12A
一个自主开发的围棋软件,有简单的ai进行对弈,适合新手学习之用(An independent development of chess software, chess has a simple ai be suitable for novice learning purposes)
- 2013-08-18 13:05:40下载
- 积分:1
-
VCgamedesing
VC编程游戏,这本电子书不是太难,书中罗列了几个经典的小游戏:五子棋,俄罗斯方块。。。。(use VC++ to design little games,it is not very complex,which can help the VC beginers
)
- 2009-06-13 14:33:59下载
- 积分:1