-
非常经典的中国象棋演示程序,功能齐全,电脑AI优秀
Linux下线程的创建-Linux threads created
- 2022-01-26 07:43:00下载
- 积分:1
-
用java编写的围棋程序,该程序是java applet编写,请编译后用html嵌入编译好的该类...
用java编写的围棋程序,该程序是java applet编写,请编译后用html嵌入编译好的该类-prepared with the Go program, which is a java applet prepared, compiled using html embedded compiler such good
- 2022-04-27 06:49:49下载
- 积分:1
-
五子棋游戏的源代码,棋盘格数位15*15大小
五子棋游戏的源代码,棋盘格数位15*15大小-Gobang game source code, the digital board grid size of 15* 15
- 2022-05-09 11:26:29下载
- 积分:1
-
c#写的中国象棋游戏,带有一定的人工智能。
c#写的中国象棋游戏,带有一定的人工智能。-c# written in Chinese chess games, with a certain degree of artificial intelligence.
- 2022-03-21 01:42:52下载
- 积分:1
-
一个非常有用的程序的象棋游戏,有一个java编辑
一款非常好用的国际象棋游戏程序,是有java编辑而成-A very useful procedure chess game, there is a java editor from
- 2022-03-12 13:24:36下载
- 积分:1
-
用java编的中国象棋视频播放器chinese_chess_demo原!…
用java编的中国象棋录像播放器Chinese_Chess_Demo 原创-with java series of the Chinese chess video player Chinese_Chess_Demo original! !
- 2023-07-20 12:10:03下载
- 积分:1
-
扑克牌游戏源代码 包含VB和C++的代码以及一些说明文件
扑克牌游戏源代码 包含VB和C++的代码以及一些说明文件-poker game source code contains VB and C code and some documentation
- 2022-02-06 07:01:27下载
- 积分:1
-
24dianyuxi 给4个正数从1
24dianyuxi 给4个正数从1-9 然后用4则运算计算结果该是24 -24dianyuxi to four the number from being 1-9 then four Operational results of the 24
- 2022-08-23 14:27:51下载
- 积分: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
-
用VC实现的五子棋,可能用学习游戏编程,也是学习VC的好例子...
用VC实现的五子棋,可能用学习游戏编程,也是学习VC的好例子-Gobang achieved using VC, it may be to learn game programming, but also learn a good example of VC
- 2023-03-16 17:00:04下载
- 积分:1