-
一个中国象棋的源代码
一个中国象棋的源代码-a Chinese chess source code
- 2022-07-14 12:40:40下载
- 积分: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
-
a Chinese chess game
一个中国象棋游戏-a Chinese chess game
- 2022-03-03 03:52:31下载
- 积分: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
-
改进的SDK中国象棋游戏,使用类封装,美化了界面,内附详细的开发说明...
改进的SDK中国象棋游戏,使用类封装,美化了界面,内附详细的开发说明-improved SDK Chinese chess game, the use of such packages, the interface landscaping, enclosing a detailed note Development
- 2022-02-27 02:34:11下载
- 积分:1
-
network Go game, No AI supported
网络围棋游戏,不支持人工智能
- 2022-09-15 22:35:03下载
- 积分:1
-
生动活泼的游戏――五子棋
生动活泼的游戏――五子棋-lively game-- 331
- 2022-07-03 10:51:53下载
- 积分:1
-
这是五子棋的源代码,不过是用C++写的程序罗…
这也是五子棋的源代码,不过是用C++写的,程序比较长,但是对程序的运行各种情况都考虑的还行-This is the backgammon of the source code, but is written in C++, the program longer, but the right program to run a variety of conditions are taken into account is also OK
- 2022-11-18 17:50: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
-
vc编写的俄罗斯方块程序源码,界面简单,适合初学者。
vc编写的俄罗斯方块程序源码,界面简单,适合初学者。-vc box procedures prepared by the Russian source, the interface is simple, suitable for beginners.
- 2022-06-22 00:14:55下载
- 积分:1