-
斗地主java
斗地主java-Doude Zhu java
- 2022-08-15 19:03:44下载
- 积分:1
-
这是关于五子棋的一段java源代码,为碎片…
这是段关于五子棋的Java源代码,棋子为黑子和白子,是人和人互奕-This is a segment of the Java source code on the backgammon, the pieces for the sunspots and the white out, is the human person and each Yi
- 2022-09-25 09:05: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
-
魔羯之辉黑白棋第二版,在第一版的基础上加上了多线程控制,重新编写代码,代码可读性更强,程序逻辑更清晰,界面更漂亮,网络对战功能没有来得及做.只要把程序中的黑白棋...
魔羯之辉黑白棋第二版,在第一版的基础上加上了多线程控制,重新编写代码,代码可读性更强,程序逻辑更清晰,界面更漂亮,网络对战功能没有来得及做.只要把程序中的黑白棋类代码拿出来就可以迅速编出自己的黑白棋游戏.-Jose Zhihui reversi second edition, the first edition on the basis of a multi-threaded with control, to rewrite code, code readability and logic procedures clearer and more beautiful interface, network multiplayer action does not have enough time to do. As long as the procedures reversi category code necessary to be prompt Part of what he reversi game.
- 2023-03-28 06:10:04下载
- 积分:1
-
I see a very good small game, in the development stage!
我看到的一个很不错的小游戏,处于开发阶段!-I see a very good small game, in the development stage!
- 2022-01-26 05:23:49下载
- 积分:1
-
可以用鼠标的五子棋游戏哦可以学学里边关于鼠标的编程
可以用鼠标的五子棋游戏哦可以学学里边关于鼠标的编程-can use the mouse 331 games oh can learn on the inside of the mouse programming
- 2022-10-31 16:00:02下载
- 积分:1
-
单机版中国象棋 使用windows sdk 开发 简单 易学
单机版中国象棋 使用windows sdk 开发 简单 易学-single version of Chinese chess development of the use of windows sdk easy
- 2022-09-09 03:05:03下载
- 积分:1
-
java实现的俄罗斯方块改进版本。可以那里练练手
java实现的俄罗斯方块改进版本。可以那里练练手-java achieve improved version of Tetris. Can there练练hand
- 2022-01-21 01:12:10下载
- 积分:1
-
这是用visual c++编写的一个俄罗斯方块的程序,希望能给大家帮助...
这是用visual c++编写的一个俄罗斯方块的程序,希望能给大家帮助-This is a visual c++ Prepared a Russian box procedure, I hope everyone can help
- 2022-11-12 12:40:03下载
- 积分:1
-
南京航天航空大学陶文善 写的中国象棋软件。可以编译运行。棋力不错。...
南京航天航空大学陶文善 写的中国象棋软件。可以编译运行。棋力不错。-Tao, Nanjing University of Aeronautics and Astronautics good software written in Chinese chess. Can be compiled to run.棋力good.
- 2022-01-25 20:59:01下载
- 积分:1