登录
首页 » Visual C++ » BattleCitygame

BattleCitygame

于 2011-01-14 发布 文件大小:60KB
0 118
下载积分: 1 下载次数: 21

代码说明:

  用C/C++编写的塔克大战小游戏,很经典的一款小游戏(With C/C++ written Tucker war game is a classic game)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论


0 个回复

  • Earlybird-3.1
    这里是我和我的同伴所组建的游戏个人游戏开发小组OiteBoys为了学习游戏制作和cocos2d-x而仿制的flappy bird cocos2d-x 3.0beta2版的C++源代码(Here is what I and my companions by the formation personal game development team OiteBoys game in order to learn the game production and cocos2d-x and imitation flappy bird cocos2d-x 3.0beta2 version of the source code C++)
    2015-08-21 11:21:37下载
    积分: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
  • Sudo
    一个数独游戏的计算小程序.利用回溯算法.能算出所有可能的结果.(The calculation of a Sudoku applet. The use of backtracking algorithms. Is able to calculate all the possible outcomes.)
    2009-11-19 12:54:10下载
    积分:1
  • MyChess5
    用API实现的五子棋程序,人人版,对C++API程序的初学者应该有一定的帮助(Backgammon program with the API implementation, all versions of C++ API program should be helpful for beginners)
    2011-11-18 10:56:24下载
    积分:1
  • finguess
    VB编写的图形界面的猜拳小游戏,供初学者参考。(Program for "finger guess game", by Visual Basic.)
    2013-09-27 11:19:17下载
    积分:1
  • poly
    标题: 多边形游戏 时 限: 1000 ms 内存限制: 10000 K 总时限: 3000 ms 描述: 多边形游戏是一个单人玩的游戏,开始时有一个由n个顶点构成的多边形。每个顶点被赋予一个整数值,每条边被赋予一个运算符“+”或“*”。所有边依次用整数从1到n编号。 游戏第1步,将一条边删除。 随后n-1步按以下方式操作: (1)选择一条边E以及由E连接着的2个顶点V1和V2; (2)用一个新的顶点取代边E以及由E连接着的2个顶点V1和V2。将由顶点V1和V2的整数值通过边E上的运算得到的结果赋予新顶点。 最后,所有边都被删除,游戏结束。游戏的得分就是所剩顶点上的整数值。 输入: 输入共两行,第一行一个整数n表示顶点个数,第二行共2*n个数,分别为数字和字符。 例如:对于上图中的问题,我们可以这样按输入样例中的例子输入,数学中的“+”号代表加法,小写字母“x”代表乘法。 输出: 一个整数,计算最高得分。 输入样例: 5 10 + -1 x -2 x 3 + -8 x 输出样例: 486 (标题: 多边形游戏 时 限: 1000 ms 内存限制: 10000 K 总时限: 3000 ms 描述: 多边形游戏是一个单人玩的游戏,开始时有一个由n个顶点构成的多边形。每个顶点被赋予一个整数值,每条边被赋予一个运算符“+”或“*”。所有边依次用整数从1到n编号。 游戏第1步,将一条边删除。 随后n-1步按以下方式操作: (1)选择一条边E以及由E连接着的2个顶点V1和V2; (2)用一个新的顶点取代边E以及由E连接着的2个顶点V1和V2。将由顶点V1和V2的整数值通过边E上的运算得到的结果赋予新顶点。 最后,所有边都被删除,游戏结束。游戏的得分就是所剩顶点上的整数值。 输入: 输入共两行,第一行一个整数n表示顶点个数,第二行共2*n个数,分别为数字和字符。 例如:对于上图中的问题,我们可以这样按输入样例中的例子输入,数学中的“+”号代表加法,小写字母“x”代表乘法。 输出: 一个整数,计算最高得分。 输入样例: 5 10+-1 x-2 x 3+-8 x 输出样例: 486 )
    2012-12-17 10:35:16下载
    积分:1
  • -the-poker-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)
    2013-08-19 15:13:48下载
    积分:1
  • lianliankan
    一款简单的连连看源码,有暂停 有限时,选中方块颜色会有变化(code of an easy game)
    2014-07-14 17:08:02下载
    积分:1
  • 1111
    90行代码 完成了 俄罗斯方块 游戏(90 lines of code to complete a Tetris game)
    2013-06-25 19:25:27下载
    积分:1
  • ClassicalGame
    经典游戏程序设计的随书光盘,源码经典、齐全,适合新手学习编程。(Classic games designed with book, source classic, complete, suitable for novices to learn programming.)
    2010-07-24 16:45:38下载
    积分:1
  • 696518资源总数
  • 104971会员总数
  • 8今日下载