登录
首页 » Visual C++ » 趣味数字

趣味数字

于 2005-06-20 发布 文件大小:37KB
0 178
下载积分: 1 下载次数: 5

代码说明:

  一个搞笑游戏,其中的算法很有意思,大家可以下载后玩一玩,但界面很垃圾,希望大家帮忙改改.(a funny game, the algorithm is very interesting, you can download a play after play, but the interface is rubbish, we hope to help change it.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 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
  • LLK1.41_FullSources
    连连看.net代码。最新更新的,VS2005开发。(Lianliankan. Net code. The latest update, VS2005 development.)
    2008-04-18 09:28:04下载
    积分:1
  • caiquan
    石头,剪刀,布:设计一个游戏,让用户与计算机玩“石头,剪刀,布”游戏,要求:  程序能够统计玩的次数以及每一次的结果,说明是谁赢了,还是平了;  计算机出牌的最简单的方法是随机算法,请尝试考虑能不能设置一种分析用户出牌规律的算法,让计算机能够赢用户的几率大于50 。 (Rock, scissors, cloth: to design a game, let the user and the computer to play stone, scissors, cloth game, requirements:  program to play the number of statistics and the result of every time, that is who won, or flat  computer play the most simple way is random algorithm, please try to consider the user can set up a kind of analysis play rule algorithm, is greater than 50 chance to win the user s computer.)
    2020-07-04 13:20:02下载
    积分:1
  • 6603xiaojiu
    6603xiaojiu source code
    2019-02-23 21:33:39下载
    积分:1
  • VBFIGHT
    VB6.0平台+.dll制作的超级无敌格斗游戏,内附详细代码(VB6.0 platform+. Dll produced by super-invincible fighting games, containing a detailed code)
    2008-04-22 14:02:46下载
    积分:1
  • caishuzi
    说明:  用VB编写的一个小游戏:猜数字.简单易懂.很好操作.并且有论文稿(VB prepared with a small game:猜数字. Easy. A very good operation. And a draft paper)
    2008-11-26 22:35:54下载
    积分:1
  • VCgamedesing
    VC编程游戏,这本电子书不是太难,书中罗列了几个经典的小游戏:五子棋,俄罗斯方块。。。。(use VC++ to design little games,it is not very complex,which can help the VC beginers )
    2009-06-13 14:33:59下载
    积分:1
  • SMO-8.1.8.24
    这个是网络游戏石器时代的源码,有需要的可以下载。(This is the online game Stone Age of the source, there is a need can be downloaded.)
    2010-11-15 16:26:11下载
    积分:1
  • heibaiqi
    人人对战的黑白棋(Everyone against Riversi)
    2008-06-08 12:23:31下载
    积分:1
  • bomb-game
    扫雷游戏的C++代码,适用于学习C++的初学者,有助于理解程序,提升能力。( Minesweeper game C++ code, suitable for beginners to learn C++, to help understand the process, enhance the capacity. Minesweeper game C++ code, suitable for beginners to learn C++, to help understand the process, enhance the capacity.)
    2014-01-03 10:24:46下载
    积分:1
  • 696518资源总数
  • 106182会员总数
  • 24今日下载