-
ClassicGameProgramming
几个经典小游戏程序设计,有扫雷、贪吃蛇、推箱子,比较基础的(Several classic game programming, there is mine, Snake, Sokoban, comparison-based)
- 2010-09-29 13:44:14下载
- 积分:1
-
Basic5
3d 游戏编程入门教程之例子源码--滚动的色子(3d Game Programming Tutorial example of source code- rolling bosons)
- 2008-01-10 12:57:36下载
- 积分: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
-
tanchi
这是一个贪吃蛇游戏的源程序,可通过控制蛇身的上下左右移动吃到食物后,蛇身增加,最后可输出成绩(This is a Snake game source code can be up and down by controlling the snake to eat the food and move around, the snake increases, the final output results)
- 2010-11-29 13:32:23下载
- 积分:1
-
MemWord
Game Memories Words with dics
- 2010-08-13 03:22:43下载
- 积分:1
-
Beginning-CS-Game-Programming-Source-Code
Only a few short years ago, everyone programmed games in C. There was no question
about it—if you wanted to program cutting-edge games, you did so in C. Sure, C++ was
around, but it was too “slow.” The advanced features that C++ offered took off too much
processing power, and that was simply unacceptable to a game programmer.
- 2009-10-06 21:36:12下载
- 积分:1
-
456767566
飞机飞行游戏演示代码,1.界面美观大方 2.电脑智能下棋 3.有多种难度选择 4.内带黑白棋规则教程 5.电脑会有响应提示,与玩家进行互动 6.集娱乐性,智力多种元素于一身 ...查看
(jaoifsjgjsgjdgjjgjhgfr7i6dtui)
- 2021-04-24 14:28:47下载
- 积分:1
-
LabTest2
黑杰克學校測驗題,從裡面的碼發展出整個遊戲(Black Jack school quiz, from the inside out the entire game code development)
- 2013-08-03 07:37:33下载
- 积分:1
-
vc的一个小游戏
这只是一个小小的程序 可以输入资料并显示还可以设置字体 还有一个小小的猜明星游戏 是VC++语言写的(this only a small import procedures and show also can set font guess there are a little star game is written in Visual C)
- 2005-01-18 18:15:42下载
- 积分:1
-
Ex_FiveChess
使用MFC实现五子棋的简单功能,可以和电脑下棋。(MFC backgammon simple functions, and computer chess.)
- 2013-01-16 21:52:12下载
- 积分:1