-
High
高质量的代码,学习好资料。资源比较全,能完全编译。-High-quality code, good study materials. Wide resources to fully compile.
- 2022-06-29 22:41:07下载
- 积分:1
-
用VB开发的网络五子棋
用VB开发的网络五子棋-VB- 331 network
- 2022-04-01 11:23:28下载
- 积分:1
-
用SDL写的中国象棋程序,人工智能算法来源于陈成涛先生的mantisChess。 昨天中午在cosoft上偶然发现了陈成涛先生的中国象棋程序,Down下来以后发...
用SDL写的中国象棋程序,人工智能算法来源于陈成涛先生的mantisChess。 昨天中午在cosoft上偶然发现了陈成涛先生的中国象棋程序,Down下来以后发现只有Windows版,打开源代码,发现是用Win32 SDK写的(呵呵,以前学这东西可花了我不少时间,现在终于派上用场了),于是我决定把它移植到Linux下来,花了一个下午和一个早上终于搞定了。 不过程序退出的时候会出现一个错误,现在还没找到问题所在,而且程序的界面也比较难看,大家先凑合着用吧!等我以后有时间了再改。昨天已经被我们项目组长批了一顿了,说我上班时间不务正业。-SDL used to write Chinese chess procedures, artificial intelligence algorithms from Mr. Chen Cheng-tao mantisChess. Cosoft noon yesterday on the accidental discovery of Mr. Chen Cheng-tao of Chinese chess procedures, Down down after only a Windows version, open source code and discovered that it is written with Win32 SDK (Oh, before this study things I can spend a lot of time, now is a chance to use), so I decided transplant Linux down and spent an afternoon and a morning finally to get. But procedures from the time that there would be a mistake, we have not found the problem, but the interface procedures are ugly, we first used to improvise! So I will have more time to change. Yesterday, we had been awarded the project h
- 2022-08-22 19:59:18下载
- 积分: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
-
程序可以实现难度级别设置等一般的功能,但有几个不足之处:在程序运行时再点击“开始”,程序没有对当前界面中的方块进行重画,另外在调节框架大小时,方块的颜色会变灰等...
程序可以实现难度级别设置等一般的功能,但有几个不足之处:在程序运行时再点击“开始”,程序没有对当前界面中的方块进行重画,另外在调节框架大小时,方块的颜色会变灰等,不过还是值得研究一下的。-procedures can be more difficult to achieve general-level set of functions, but has several shortcomings : the program runs when clicking on the "Start", the process is not on the current interface block for the re-drawing, and the size of the regulatory framework, the color squares will greyed, but it is worth considering one under the.
- 2022-11-03 09:10:03下载
- 积分:1
-
国际象棋比赛,整个比较
国际象棋游戏,比较全-international chess game, the entire comparison
- 2022-06-29 14:05:27下载
- 积分:1
-
利用C语言开发的五子棋游戏!
很好玩!很经典!希望大家喜欢!
谢谢!...
利用C语言开发的五子棋游戏!
很好玩!很经典!希望大家喜欢!
谢谢!
-use of the C language development 331 games! Very fun! Classic! Hope you like! Thank you!
- 2022-03-20 09:57:24下载
- 积分:1
-
reversi, with C Language platform for 95/98
reversi,用C语言平台为95/98
- 2022-03-29 02:41:14下载
- 积分:1
-
Sieve dice games, can be used to test and other possible incident, the probabi...
骰筛子游戏,可用于检验"等可能事件"发生的概率相等-Sieve dice games, can be used to test and other possible incident, the probability of the same
- 2022-07-25 16:30:20下载
- 积分: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