▍1. view2
游戏地图编辑器一个基于VC++ MFC DX9 的地图编辑工具(Game map editor based on VC++ MFC DX9 map editing tools)
游戏地图编辑器一个基于VC++ MFC DX9 的地图编辑工具(Game map editor based on VC++ MFC DX9 map editing tools)
游戏地图编辑器一个基于VC++ MFC DX9 的地图编辑工具(Game map editor based on VC++ MFC DX9 map editing tools)
本程序利用Card类数组模拟扑克牌,定义3个数组分别表示玩家手中的牌,电脑手中的牌和底牌,用srand((unsigned)time(NULL))产生随机数字,将底牌数组中随机的一项从底牌中移动到其他的数组中,模拟从洗好底牌中抓牌。表示出牌。 单人练习模式中,首先记下一个 1到13之间的随机数字,然后玩家抓牌,当手中的牌的点数恰与记下的随机数字相等,或用手中有的任意两张牌,通过加减乘除四则运算可以凑出该随机数字相等的点数,则停止抓牌并将这一张或两张出出去,随即记下一个新的随机数字,开始下一轮,直道手中的全部牌出完,游戏结束(This procedure using Card class array to simulate playing cards, the definition of the 3 arrays represent the game player cards, computer cards and cards, using srand ((unsigned) time (NULL)) to generate random numbers, random number in the array will be a move to the number of cards from other groups of cards, simulation from the wash hand in. Said. Single practice mode, first recorded random number between 1 to 13 next, and then the game player to draw cards, random number equal when the hand points exactly with the down, or in the hands of some arbitrary two cards, add, subtract, multiply and divide by four operations can make the random number equal points, then stop to draw a card and the card or two cards out, then write a new random number, start the next round, straight hands all the cards out, the end of the game)
本程序利用Card类数组模拟扑克牌,定义3个数组分别表示玩家手中的牌,电脑手中的牌和底牌,用srand((unsigned)time(NULL))产生随机数字,将底牌数组中随机的一项从底牌中移动到其他的数组中,模拟从洗好底牌中抓牌。表示出牌。 单人练习模式中,首先记下一个 1到13之间的随机数字,然后玩家抓牌,当手中的牌的点数恰与记下的随机数字相等,或用手中有的任意两张牌,通过加减乘除四则运算可以凑出该随机数字相等的点数,则停止抓牌并将这一张或两张出出去,随即记下一个新的随机数字,开始下一轮,直道手中的全部牌出完,游戏结束(This procedure using Card class array to simulate playing cards, the definition of the 3 arrays represent the game player cards, computer cards and cards, using srand ((unsigned) time (NULL)) to generate random numbers, random number in the array will be a move to the number of cards from other groups of cards, simulation from the wash hand in. Said. Single practice mode, first recorded random number between 1 to 13 next, and then the game player to draw cards, random number equal when the hand points exactly with the down, or in the hands of some arbitrary two cards, add, subtract, multiply and divide by four operations can make the random number equal points, then stop to draw a card and the card or two cards out, then write a new random number, start the next round, straight hands all the cards out, the end of the game)
24点游戏,找出所有解。给任意4个数,该程序能找出所有通过加,减,乘,除,括号算出24结果的算式。(24-point game, find all solutions. To any four numbers, the program can identify all through add, subtract, multiply, divide, calculate 24 results parentheses formula.)
24点游戏,找出所有解。给任意4个数,该程序能找出所有通过加,减,乘,除,括号算出24结果的算式。(24-point game, find all solutions. To any four numbers, the program can identify all through add, subtract, multiply, divide, calculate 24 results parentheses formula.)
一个自主开发的围棋软件,有简单的ai进行对弈,适合新手学习之用(An independent development of chess software, chess has a simple ai be suitable for novice learning purposes)
C语言游戏——五子棋,文中详细描述了五子棋游戏的设计规则,如何操作,而且有注释,可以简单明了的看懂操作(C language games- backgammon, backgammon paper describes in detail the design rules of the game, how to operate, and there are notes, you can understand straightforward operation)
C语言游戏——五子棋,文中详细描述了五子棋游戏的设计规则,如何操作,而且有注释,可以简单明了的看懂操作(C language games- backgammon, backgammon paper describes in detail the design rules of the game, how to operate, and there are notes, you can understand straightforward operation)
五子棋程序设计,设计方式步骤详尽解释,适合初学者,让你熟悉C语言(Backgammon program design, design approach procedure detailed explanation, suitable for beginners, so you are familiar with the C language)
五子棋程序设计,设计方式步骤详尽解释,适合初学者,让你熟悉C语言(Backgammon program design, design approach procedure detailed explanation, suitable for beginners, so you are familiar with the C language)
黑杰克學校測驗題,從裡面的碼發展出整個遊戲(Black Jack school quiz, from the inside out the entire game code development)
黑杰克學校測驗題,從裡面的碼發展出整個遊戲(Black Jack school quiz, from the inside out the entire game code development)
五个比较好玩的小游戏 反序数设计 猜数游戏 魔方 火箭 3D台球 均用C实现(Five more fun little game against ordinal number guessing game cube rocket design 3D billiards were implemented in C)
D3D射击游戏源代码,特点是使用了xaml做界面。(D3d shooting game use xaml)
利用C++编写的扫雷游戏 自己编写框架 自动不是利用VC编译器生成 对累不运行有一定的了解(Minesweeper use C++ prepared to write your own framework than using the VC compiler automatically generates tired of not running a certain understanding)
Function: // riffle Description: // 洗牌,然后随机的得到9张牌,要求九张牌不能有重复. Calls: // Called By: // main() Table Accessed: //被修改的表(此项仅对于牵扯到数据库操作的程序) Table Updated: // 被修改的表(此项仅对于牵扯到数据库操作的程序) Input: //Card card[] 牌结构, int size 结构数组的大小 Output: //(Function:// riffle Description:// shuffle, and then randomly get nine cards, requiring nine cards can not be duplicated. Calls:// Called By:// main () Table Accessed:// modified table ( This only involves the operation of the database for the program) Table Updated:// modified table (this only involves the operation of the database for the program) Input:// Card card [] licensing structure, int size structure of the array size Output ://)
五子连珠的VC源码,简单有趣 (Five or VC source, easy and fun )