-
用俄语编写的代码,代码只有500多行,很容易
用 tc 编写的俄罗斯方块, 代码量只有500 多行,简单易懂。-Tc prepared by the Russian box, the code is only more than 500 lines, easy-to-read.
- 2023-03-18 06:10:03下载
- 积分:1
-
棋牌游戏
棋牌游戏--飞行棋
对游戏规则的实现编写显得有点乱
有些游戏规则上的bug-Board games- Flying chess
- 2023-03-14 09:30:04下载
- 积分:1
-
tc版黑白棋 ,很有趣哟!
tc版黑白棋 ,很有趣哟!-tc version reversi, very interesting yo!
- 2022-08-04 07:47:11下载
- 积分:1
-
拼图游戏,VC源码,对学习VC有一定参考
拼图游戏,VC源码,对学习VC有一定参考-Jigsaw puzzle, VC source of learning VC has a certain reference
- 2023-05-13 08:15:03下载
- 积分:1
-
delphi开发的五子棋程序,delphi开发的五子棋程序
delphi开发的五子棋程序,delphi开发的五子棋程序-Gobang delphi development process, delphi Gobang procedures developed
- 2022-01-25 20:20:45下载
- 积分: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++6工程,里面有说明文档,方便使用,可以方便复用...
象棋对弈,vc++6工程,里面有说明文档,方便使用,可以方便复用-Chess game, vc++ 6 project, which has documentation, user-friendly, can easily reuse
- 2022-08-17 02:06:29下载
- 积分:1
-
欢迎来玩。当有五块连接在一起,为赢。如果…
五子棋游戏。当有5颗棋子连在一起时,为赢。横竖斜着都可以。-Welcome to play. When there are five pieces connected together, for the win. If they had placed at an angle can be.
- 2022-07-26 07:13:32下载
- 积分:1
-
本软件是用PHP语言编写的一个扫雷系统。值的学习与参考。
本软件是用PHP语言编写的一个扫雷系统。值的学习与参考。-the software is to use PHP language of a mine clearance systems. The value of learning and reference.
- 2022-02-05 21:51:09下载
- 积分:1
-
一个完美的色彩(便携式和# 39;游戏)
一个彩色的十全十美(文曲星里的游戏)-a perfect color (Portable"s game)
- 2022-05-31 07:45:47下载
- 积分:1