-
A network of Chinese chess source code, learn game programming can be an appropr...
一个网络的中国象棋的源码,学习游戏编程可以适当参考一下-A network of Chinese chess source code, learn game programming can be an appropriate reference
- 2022-04-26 19:16:52下载
- 积分:1
-
一个中国象棋的源代码,欢迎大家与阿木交流.
一个中国象棋的源代码,欢迎大家与阿木交流.-a Chinese chess source code, and we welcome the exchange of Cardiology.
- 2022-01-26 01:03:54下载
- 积分:1
-
俄罗斯方块
可以保存游戏,暂停游戏,纪录最高分数等
可以联机对战,联机对战代码有待完善...
俄罗斯方块
可以保存游戏,暂停游戏,纪录最高分数等
可以联机对战,联机对战代码有待完善-Russian box can save games, pause the game, record the highest score and so be able to battle online against the code to be perfect
- 2022-01-26 02:08:23下载
- 积分: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
-
TC3.0编译,运行在98(如直接调用中断鼠标)C:…
TC3.0下编译,98下运行(因为直接调用中断中的鼠标) 放在c:windowsdesktopwzq下 也就是把程序烤到98桌面上去 运行wzq.exe的时候必须有egavga.bgi 和 hzk16在同一目录-TC3.0 compiler, running under 98 (as a direct call interrupted the mouse) on c : windows desktop wzq is under the procedures bake up to 98 desktop operating wzq.exe must have the time and hzk16 egavga.bgi in the same directory
- 2022-04-15 17:34:46下载
- 积分:1
-
reversi FOSS
黑白棋源码Delphi-reversi FOSS
- 2022-03-11 21:51:54下载
- 积分:1
-
一款有趣的人机对战棋牌游戏
一款有趣的人机对战棋牌游戏--五子棋 对学习vc有帮助-new interesting man-machine chess game players-- 331 to help learn vc
- 2022-08-06 05:40:00下载
- 积分:1
-
程序结构非常好的dos下的五子棋游戏
程序结构非常好的dos下的五子棋游戏-very good program structure dos under the 331 games
- 2022-01-31 21:15:18下载
- 积分:1
-
程序操作按空格键开始走棋后请等待计算机走棋当全部棋盘下满而未分出输赢时右下会出现蓝色字样DRAW而若用户或计算机胜利时则有相应颜色的字样出现yOU WIN 或...
程序操作按空格键开始走棋后请等待计算机走棋当全部棋盘下满而未分出输赢时右下会出现蓝色字样DRAW而若用户或计算机胜利时则有相应颜色的字样出现yOU WIN 或 YOU LOSE随后计算机会询问你是否继续玩若是请按Y否则按N程序将退出无论在何时按ESC都将退出无论在何时即使是在游戏中按C都可以调节游戏难度在棋盘上有棋子时按U可进行悔棋-Press the spacebar to start program operation to go after you wait for the computer to go chess chess board when all the winners and losers under the full without separation of the lower right will appear when the blue words, if a user or computer DRAW the victory with a corresponding color words appear yOU WIN or YOU LOSE then the computer will ask whether to continue to play if you press Y or N according to the program will quit whenever and press ESC will quit whenever and even in the game can be adjusted according to C game on the difficulty in the board pieces can be undo, press U
- 2022-05-30 13:43:54下载
- 积分:1
-
用java写的模拟人下围棋,有良好的可用性和可扩展性,其中包含java 的源代码...
用java写的模拟人下围棋,有良好的可用性和可扩展性,其中包含java 的源代码-used to write under the simulated people Go, have a good availability and scalability, which includes the source code of java
- 2022-10-25 04:25:02下载
- 积分:1