-
chess
中国象棋
重庆大学出版社出版的《PC游戏编程(人机博弈)》一书的配套光盘内容。(
Discs supporting Chongqing University Press published "PC game programming (man-machine game)," a book)
- 2013-12-17 09:10:12下载
- 积分:1
-
Pinball-game
一个简易的弹球游戏,语言是VB.NET,供初学者参考。(A simple pinball game, the language is VB.NET, reference for beginners.)
- 2015-03-11 16:52:31下载
- 积分: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
-
Backgammon
五子棋是有两个人在一盘棋上进行对抗的竞技运动。在对局开始时,先由用户选择哪方先开局,先开局一方将一枚棋子落在一点上,然后由另一方在对方棋周围的交叉点上落子,如此轮流落子,直到某一方首先在棋盘的直线、横线或斜线上形成连续的五子则该方就算获胜。此时,算法结束。当有任何一方想退出时,都可在算法中实现。(Backgammon is a competitive sport confrontation of two people in a game of chess. At the beginning of the game, the first users to choose which side first start, first start the party will be a pawn falls point, and then by the other party on the other chess around the intersection of Lazi, so turns Lazi, until the party first the chessboard straight, horizontal or diagonal to form a continuous five sons even if the party wins. In this case, the algorithm ends. When either party wishes to withdraw from, can be realized in the algorithm.)
- 2012-11-05 20:18:00下载
- 积分:1
-
11.16
使用外部程序来控制Flightgear的一种方法,非常值得学习。共两个压缩包,一个是获取数据的程序,一个是设置的程序。(Use an external program to control a method of Flightgear well worth learning. Total of two compression package, a program to get the data, and a set program.)
- 2021-04-22 12:48:48下载
- 积分:1
-
e
基于c++编程的俄罗斯方块源程序代码 请多多支持 (Please support Tetris based c++ programming source code)
- 2013-05-13 20:44:12下载
- 积分:1
-
three
这个包括头文件,以及具体的实现函数(This is a chess game, three sons and a chess game, I hope you all like.)
- 2012-02-22 18:34:16下载
- 积分:1
-
MonteCarloTreeSearch-master
用MCTS算法做的游戏Tic-Tac-Toe,很简单,想研究MCTS的可以下载运行参考。(Using MCTS algorithm to do the game Tic-Tac-Toe, very simple, want to study MCTS can download operation reference)
- 2017-11-04 20:31:01下载
- 积分:1
-
DirectX的游戏代码
弹球游戏(pinball game)
- 2020-07-04 23:20:01下载
- 积分:1
-
Eluosi
以前写的一个俄罗斯方块程序
纯Windows API 和 GDI接口编写的
是学习Windows编程的好例子(A Tetris program used to write pure Windows API the GDI interface to write is a good example to learn Windows programming)
- 2012-09-07 13:12:21下载
- 积分:1