-
用VB做的五子棋程序,
用VB做的五子棋程序,-do with VB 331 procedures,
- 2022-03-24 07:10:03下载
- 积分: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
-
用C++编写的游戏:五子棋。可以双重战争也可以是人
用C++写的益智游戏:五子棋。可以双人对战,也可以人机大战!-With C++ Written puzzle game: backgammon. Can double the war can also be man-machine war!
- 2022-09-13 12:35:03下载
- 积分:1
-
Tic Tac Toe演示java写的
tic tac toe demo written by java
- 2022-07-04 20:39:07下载
- 积分:1
-
这是一个五子棋的游戏,比较完美,支持不同的音乐,和网上游戏,可以单人玩也可以多人。...
这是一个五子棋的游戏,比较完美,支持不同的音乐,和网上游戏,可以单人玩也可以多人。-This is a backgammon game, more perfect, the support of different music, and online gaming can be a single person can play more.
- 2022-03-16 18:23:20下载
- 积分:1
-
十字跳棋源代码
一个十字跳棋的源码- A cross Chinese checkers source code
- 2022-07-20 00:33:33下载
- 积分:1
-
本人编的一个简单五子棋程序,自己的思想,自己的解题思路,绝对没有参照任何同类型源码。没有网络功能和数据库联接,不过还是值得大家看看,特别是初学者参考。...
本人编的一个简单五子棋程序,自己的思想,自己的解题思路,绝对没有参照任何同类型源码。没有网络功能和数据库联接,不过还是值得大家看看,特别是初学者参考。-a simple series of the 331 procedures, their own thinking, their own ideas to solve problems, there is no reference to any source type. No network connectivity and database functions, but is still worth a look, especially beginners reference.
- 2022-02-04 21:47:49下载
- 积分:1
-
An international chess procedures realize man
一个国际象棋的程序,实现人机对战,普通的二维的游戏-An international chess procedures realize man-machine war, ordinary two-dimensional game
- 2022-12-02 18:35:03下载
- 积分:1
-
生动活泼的游戏――五子棋
生动活泼的游戏――五子棋-lively game-- 331
- 2022-07-03 10:51:53下载
- 积分:1
-
界面美观的五子棋.rar
界面美观的五子棋.rar- Contact surface artistic gobang rar
- 2022-09-28 07:10:03下载
- 积分:1