-
This is a Tetris game with Built
实现了基本的俄罗斯方块游戏。内置AI模块,可以连续消去10万行以上-This is a Tetris game with Built-in AI module which can continuously eliminate more than 100,000 lines
- 2022-07-23 13:55:23下载
- 积分:1
-
跳棋源码,
跳棋源码,-Checkers source,
- 2022-02-24 09:51:32下载
- 积分:1
-
Java围棋摆谱小程序(含死活计算)
Java围棋摆谱小程序(含死活计算)-Java Go appearances small programs (including life and death)
- 2023-03-27 00:25:03下载
- 积分: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
-
Tetris VC++ stand
俄罗斯方块 VC++ 单机版 可双人单机对战-Tetris VC++ stand-alone version of two stand-alone war
- 2022-05-07 20:27:02下载
- 积分: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
-
利用Java制作的手机小游戏,能够应用与各种支持Java的手机中
利用Java制作的手机小游戏,能够应用与各种支持Java的手机中-produced using Java handsets small games, which can be used with a variety of Java phones
- 2022-12-23 11:05:03下载
- 积分:1
-
用vc6.0编写的俄罗斯方块源代码,自己实现,界面朴实,适合初级的人员研究...
用vc6.0编写的俄罗斯方块源代码,自己实现,界面朴实,适合初级的人员研究-Prepared by vc6.0 Tetris source code, realize their own, simple interface, suitable for junior researchers
- 2022-03-20 08:27:22下载
- 积分:1
-
VC开发的斗地主源程序,能给开发网络游戏的一些帮助
VC开发的斗地主源程序,能给开发网络游戏的一些帮助-VC Landlords source development, the development of online games will give some help
- 2022-02-14 10:38:39下载
- 积分:1
-
使用VC++的开发环境,设计和开发的俄罗斯方块的游戏
使用VC++的开发环境,设计和开发的俄罗斯方块的游戏-use development environment, the design and development of the Russian box of the game
- 2022-09-27 01:35:03下载
- 积分:1