-
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
-
wuziqi
五子棋代码 源码 源码 源码 源码 源码 源码 源码 源码 源码 源码(wuziqi )
- 2010-12-24 14:32:15下载
- 积分:1
-
card
简单的10点半扑克牌游戏,最接近10点半者为胜,花牌算半点!(pukepai)
- 2009-03-09 14:38:45下载
- 积分:1
-
Backgammon
五子连珠的VC源码,简单有趣 (Five or VC source, easy and fun )
- 2013-07-20 17:54:18下载
- 积分:1
-
wuziqi
五子棋游戏源码,界面优美经典,编程思路清晰,非常适合学习。(Backgammon game source code, interface and beautiful classic programming ideas clearly, very suitable for learning.)
- 2013-04-05 23:20:51下载
- 积分: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
-
ChineseChess
说明: 中国象棋棋盘C#实现,主要用于学习面向对象相关知识(Chinese chess board C# to achieve, mainly for learning object-oriented knowledge)
- 2009-07-26 22:20:46下载
- 积分:1
-
source-code-VC-P-P-Othello
说明: 带背景音乐的VC++黑白棋源代码,程序简单又娱乐(With background sound source code VC++ Othello)
- 2011-03-13 18:32:24下载
- 积分:1
-
go_chess
这是C++编写的围棋打谱程序,读取SGF棋谱文件格式,欢迎围棋爱好人士使用。(This is the C++ Prepared to fight Go spectrum procedures, read chess SGF file formats are welcome to Go-loving users.)
- 2008-01-20 21:56:11下载
- 积分:1
-
chess
中国象棋
重庆大学出版社出版的《PC游戏编程(人机博弈)》一书的配套光盘内容。(
Discs supporting Chongqing University Press published "PC game programming (man-machine game)," a book)
- 2013-12-17 09:10:12下载
- 积分:1