-
wuziqi
这是一段人与电脑下五子棋的程序,人H代表人,C代表电脑(This is a man with a computer under 331 procedures, human H representative, C for computer)
- 2013-10-16 23:00:24下载
- 积分: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
-
gobang-game
基于控制台的五子棋游戏,用easyX提供的图形接口进行编写,适合初学者,简单易懂,注释全面。注:安装图形库需要去EasyX官网下载“2012立冬版”,必须是这个版本,因为后来新的版本对有些函数做了调整,导致显示会有问题。(Console-based backgammon game, the graphical interface provided by easyX be written for beginners, easy to understand, comprehensive notes. Note: Installing graphics libraries need to EasyX official website to download " 2012 Lidong Edition" , must be this version, because the new version was made adjustments for some functions, resulting in the display there will be problems.)
- 2014-10-11 14:53:47下载
- 积分:1
-
Game
小游戏集合 五子棋+黑白棋+俄罗斯方块+井字游戏(game)
- 2010-11-05 10:43:45下载
- 积分:1
-
CardGames
发牌程序,利用MFC编写,采用双缓冲技术实现发牌和显示(Licensing procedures, written using MFC)
- 2013-04-02 19:18:01下载
- 积分:1
-
wlwzq
五子棋人机对战网络对战 五子棋人机对战网络对战 (331 man-machine players magic 331 man-machine players magic 331 magic man-machine players)
- 2006-07-07 08:59:53下载
- 积分:1
-
VC++
残缺棋盘问题的VC++实现,用分而治之方法解决此问题(Defective chessboard problem VC++ Realize, using divide and conquer method to solve this problem)
- 2008-02-25 16:11:23下载
- 积分:1
-
snake
说明: 实现了简单的贪吃蛇的功能,每吃掉一粒食物,就增长一点(Achieve a simple function of the Snake, each eat a food, a little on growth)
- 2016-05-17 12:05:43下载
- 积分:1
-
paopaotang-game-source
泡泡堂游戏单机版源代码,可以做个参考学习。(paopao game )
- 2015-09-23 21:17:17下载
- 积分:1
-
runfast
“跑得快”是流传于民间的一种常见的扑克牌游戏,52张牌分配给东、南、西、北四家,每家13张,最快出掉手中牌者胜出,所胜点数为其他家手中所剩的牌的张数.本系统总共有四个大的模块:初始化模块、洗牌模块、发牌模块、玩牌模块。(" Run fast" is circulating in the private sector a common poker games, 52 cards assigned to the east, south, west, north four, each 13, the fastest card out off the hands of those who won, the victory Points for other families the hands of the remaining number of sheets of card. The system has a total of four major modules: initialization module, module shuffling, the licensing module, to play cards module.)
- 2009-03-18 13:22:54下载
- 积分:1