-
gameScheme
小伟报名参加中央电视台的智力大冲浪节目,本次挑战赛吸引了众多参赛者,主持人为了表彰大家的勇气,先奖励每个参赛者m元。先不要太高兴!因为这些钱还不一定都是你的!接下来主持人宣布了比赛规则:
首先,比赛时间分为n个时段(n≤500),它又给出了很多小游戏,每个小游戏都必须在规定期限ti前完成(1≤ti≤n)。如果一个游戏没能在规定期限前完成,则要从奖励费m元中扣去一部分钱wi,wi为自然数,不同的游戏扣去的钱是不一样的。当然,每个游戏本身都很简单,保证每个参赛者都能在一个时段内完成,而且都必须从整时段开始。主持人只是想考考每个参赛者如何安排组织自己做游戏的顺序。作为参赛者,小伟很想赢得冠军,当然更想赢取最多的钱!注意:比赛绝对不会让参赛者赔钱!
(Xiaowei enroll CCTV intellectual big surf program, The Challenge has attracted many participants, we commend the courage to host first award each participant m, respectively. Let us not be too happy! Because these are not necessarily paying the money you! Then the host announced the rules of the game:
First, the game is divided into n time periods (n ≤ 500), it also gives a lot of games, each game must be completed before the specified period ti (1 ≤ ti ≤ n). If a game could not be completed before the specified period, the deduction from the fee m-ary part of the money in reward wi, wi is a natural number, different game deduct money is not the same. Of course, every game itself is very simple, to ensure that each participant can be completed within a period of time, but must start from the entire period. Moderator just want to quiz each participant how to make their own arrangements for the organization of the game in order. As a participant, Xiaowei wanted to win, of course, want t)
- 2013-12-01 20:10:44下载
- 积分:1
-
Visual_C++GameDevelop
Visual C++游戏开发技术与实例一书配套光盘。包含了冒险屠宰场、入侵者、赛车、网络五子棋、网络台球、对战坦克大战和面包圈7个游戏实例的完整源代码。(Visual C++ Game development technology and examples of a book supporting CD-ROM. Contains adventure slaughterhouse, the invaders, car, network Gobang, network billiards, donut war Tankedaizhan and seven examples of a complete game source code.)
- 2020-06-26 03:40:02下载
- 积分:1
-
windonh
获取窗口句柄,向窗口发送键盘、鼠标控制命令。比如,向游戏(Gets the window handle to the window to send keyboard and mouse control commands. For example, the game)
- 2013-05-26 22:41:09下载
- 积分:1
-
2.3
一个简单的猜数游戏程序:
利用Math.random()方法生成0-1之间的double型数dNum,将dNum转换为0-100之间的整数iNum。
利用KeyInput.readInt()方法接收键盘输入的整数inNum。如果inNum小于iNum,在屏幕上显示“输入的值小,请输入更大的数.”;如果inNum大于iNum,在屏幕上显示“输入的值大,请输入更小的数.”;如果inNum等于iNum,在屏幕上显示“猜对了.”,并结束运行。
猜测错误的时候,重新输入inNum,直到猜对为止。如果猜测10次后仍未猜对,显示“猜测次数已达10次,猜数失败.”,并结束程序的运行。
(A simple guessing game program: use Math.random () method to generate double-type numbers between 0-1 dNum, will dNum into an integer between 0-100 iNum. use KeyInput.readInt () method receives the keyboard input integer inNum. If inNum less than iNum, the screen " Enter the value of the small, enter the greater number." If inNum than iNum, the screen " Enter the value of the large number of smaller type." If inNum equal iNum, displayed on the screen, " guessed." and end the run. guess wrong, re-enter inNum, until you guess it right up. If the guess was right 10 times not to show " guess the number has reached 10 times, guess the number of failures." And end the program.)
- 2010-11-03 14:29:09下载
- 积分:1
-
GameServer
游戏住成许辕马希望大家喜欢,下载请杀毒,不要因为马匹大意,导致中毒,这样就不好了(Game live Xu thiller hope everyone likes to download anti-virus, do not horse effect, lead poisoning, so bad)
- 2012-07-18 19:02:42下载
- 积分:1
-
GameScriptEngine
一个适应性很强的脚本语言,这个语言将主要用来处理剧情,希望能够用于绝大多数需要剧情的游戏。带文档。(A flexible script language used for game logic.)
- 2013-06-11 23:36:08下载
- 积分:1
-
2dengine
一个简单的2D游戏引擎,有全部的源码和例子,可以作为初学者入门学习之用.(A simple 2D game engine, with all the source code and examples, can serve as a beginner learning.)
- 2011-05-07 14:39:54下载
- 积分:1
-
ZLLK
一个简单的连连看游戏提供给大家,希望能给新手一些帮助(A simple Snake game available to everyone, I hope to give some help novice)
- 2013-12-18 21:05:29下载
- 积分:1
-
light
3D游戏中关于灯光的编程的几个小例子,对灯光的理解很有帮助(the light program in 3D games)
- 2009-06-15 09:59:55下载
- 积分:1
-
wzq
一个简单的五子棋程序,可以人机对弈,采用opencv1.0+vc6.0,来自于网上(A simple backgammon procedures can be man-machine chess, using opencv1.0+ vc6.0, the Internet)
- 2016-12-23 09:57:42下载
- 积分:1