-
cun-book-also
这是一个关于汉诺塔的书机,大家凑活用用,还可以(This is a book on Hanoi machine, chip in use to use, can also)
- 2017-03-30 15:03:50下载
- 积分: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
-
sanlianqi-
用c++编写的可以进行人人交战和人机交战的三连棋简洁版游戏(Can be prepared using c++ all three warring warring and human concise version of the game with chess)
- 2013-07-15 18:47:34下载
- 积分:1
-
russiablock
多人联网对战的俄罗斯方块程序。可以再局域网中进行(Multiplayer Battle Tetris networking programs.)
- 2009-10-31 16:16:24下载
- 积分:1
-
DriectX 2D游戏引擎
windows下的一套棋牌游戏的代码,源码设置了多个拓展接口方面各个功能的二次开发(Windows under a set of board and card game code, the source code set up a number of expansion interface aspects of the secondary development of various functions)
- 2019-05-05 11:36:22下载
- 积分:1
-
CrossGame
利用cocos2d-x引擎制作的十字消除类,益智游戏(Use cocos2d-x engine produced Cross eliminate class, puzzle games)
- 2013-10-09 08:48:38下载
- 积分:1
-
llk
自己写的一个连连看小游戏,可能有点小错误。有3种不同的等级,可以选择背景和连连看的图片,有音效,排行榜,外挂,提示和重排。(To write a Lianliankan game, probably a little wrong. There are three different levels, you can select the background and lianliankan pictures, have a sound, charts, plug-in, tips and rearrangement.)
- 2014-01-04 14:08:58下载
- 积分:1
-
octree
3Do游戏代码,基于四差数的地形程序,lod地形实现。(3Do game code, based on the difference of four terrain procedures, incomplete realization of the terrain.)
- 2005-04-05 19:14:14下载
- 积分:1
-
snake
snake--用VC++写的游戏,按上下左右控制方向(snake with VC++ write the game, press the control up and down about the direction of)
- 2008-07-10 20:51:20下载
- 积分:1
-
Fruit-Game
VB做的小游戏,是学校夏季学期的大作业,名字叫水果大餐,小游戏的原理跟俄罗斯方块很像,只是把一个个方块变成了一些水果(VB to do a small game, big summer semester of school work, called fruit feast, with the principle of small game like Tetris, just one block into some fruit)
- 2017-01-23 08:16:40下载
- 积分:1