-
中国象棋
一款用C++语言编写的中国象棋的程序,并有可视化窗口界面...
中国象棋
一款用C++语言编写的中国象棋的程序,并有可视化窗口界面-Chinese Chess a C++, written in Chinese chess programs, and a visualization window interface
- 2022-06-17 19:15:40下载
- 积分:1
-
语言编写的一个331游戏的源代码
用C语言编写的一个五子棋游戏源代码-C language prepared by a 331 game source code
- 2023-08-09 14:10:04下载
- 积分:1
-
在VC平台下的俄罗斯方块程序,包括方块的每个模型的搭建程序...
在VC平台下的俄罗斯方块程序,包括方块的每个模型的搭建程序-VC platform in the Russian box under the procedures, including the box model structures for each process
- 2022-01-26 02:59:35下载
- 积分:1
-
用C++开发的中国麻将游戏(单机版),可以做为学习的范例。
――――――――――――――――――――――――――――――
游戏的基本运行
―――――...
用C++开发的中国麻将游戏(单机版),可以做为学习的范例。
――――――――――――――――――――――――――――――
游戏的基本运行
――――――――――――――――――――――――――-――――
运行前会先洒色子,根据色子与庄家给各玩家初始化手中的牌
1.初始化(根据庄家和色子数给每个人发12张牌)
2.牌墙发牌给庄家(m_nActive活动状态给庄家)
3.根据活动状态玩家是否是出牌状态(m_nState==1):如果是电脑,让其思考最差的一张牌并出牌,如果是人就让其自行选择(相应时间内没出牌就自动出刚抓的新牌(m_nNewPai))
4.根据玩家出的牌判断各玩家的优先级,优先级最大的玩家操作并把活动状态给他,(如果是人就等待其是否操作,时间内没响应就自动弃权)
5.如果有玩家操作了就返回第3步,如果没有玩家操作就进行第6步
6.如果没有玩家对刚出的牌操作就牌墙发牌给下一玩家,再返回第3步。
7.如果有人胡牌就统计分数,如果牌墙剩余的牌不到10张就流局,分数不变,游戏也结束。-C development of the Chinese game mahjong (single version), the study could serve as an example.------------------------------ The basic operation of the game------------------------------- first before running onto Boson. According Boson dealer to the player"s hands initialize a license. Initialization (according to several bankers and Boson issued to each person 12 Licensing) 2. Wall licensing licensing Makers (m_nActive activities to the state Makers) 3. According to state player of activities whether the card is the
- 2022-11-30 07:30:04下载
- 积分:1
-
Cai Shendao flash chess game server, like the study of a friend can be downloade...
财神到flash棋牌游戏服务端,喜欢研究的朋友可以下载!完全可编译-Cai Shendao flash chess game server, like the study of a friend can be downloaded! Fully compiled
- 2022-08-14 13:18:46下载
- 积分:1
-
Gobang the first edition, Qt4.0 written rules of function it is also useful
五子棋第一版,Qt4.0写的,规则函数值得参考-Gobang the first edition, Qt4.0 written rules of function it is also useful
- 2023-01-31 02:45:04下载
- 积分:1
-
我是vb的初学者,很希望通过贵站得到大家的帮助,这是一个小游戏,对各位来说一定太简单了,但这是我亲手写的。请一定给我下载权限,谢谢拉...
我是vb的初学者,很希望通过贵站得到大家的帮助,这是一个小游戏,对各位来说一定太简单了,但这是我亲手写的。请一定给我下载权限,谢谢拉-I vb beginners, I hope that through Guizhan everyone"s help, this is a small game, all of you will too simple, but I personally written. Please give me some authority to download, thank you!! !
- 2023-02-17 14:05:03下载
- 积分:1
-
这是一个双人对战五子棋的程序,可以双击直接运行,并将源代码也附在后面。本程序是我从网上下的,经过自己的修改,觉得更适合刚学JAVA的人看,并可以当作作业应付老师...
这是一个双人对战五子棋的程序,可以双击直接运行,并将源代码也附在后面。本程序是我从网上下的,经过自己的修改,觉得更适合刚学JAVA的人看,并可以当作作业应付老师-This is a double screen 331 procedures can double-click to execute directly and the source code is attached to the back. This program is from the Internet, after the changes, feeling more fit just learning Java people, and can cope with the work as a teacher
- 2022-10-23 09:00:03下载
- 积分:1
-
v欢乐五子棋C#版(带源码).rar
v欢乐五子棋C#版(带源码).rar-v joy C# 331 version (with source code). Rar
- 2022-01-26 07:51:02下载
- 积分:1
-
五子棋源程序法的程序
五子棋源程序法的程序-renju source Act procedures
- 2022-07-20 00:12:55下载
- 积分:1