登录
首页 » C++ » Snake

Snake

于 2018-03-12 发布 文件大小:51726KB
0 161
下载积分: 1 下载次数: 1

代码说明:

  PvP贪吃蛇,代码中有键位注释,可以继续增加角色与键位。(PvP Snake, you can add more characters.)

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

发表评论

0 个回复

  • -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
  • colladaforxna
    在WINDOWS XNA游戏开发平台下调用COLLADA格式的开发类库()
    2008-03-26 16:22:17下载
    积分:1
  • aweep-game
    一款经典小游戏 扫雷 希望各位i朋友不吝赐教 ~~~多多捧场~~(A classic game mine hope everyone who I glad ~ ~ ~ great support ~ ~)
    2013-09-13 14:40:22下载
    积分:1
  • TankWar
    说明:  用java编写的坦克大战游戏,简单java小程序(Written with java Battle City game, a simple java applet)
    2010-03-23 20:30:43下载
    积分:1
  • Particly
    愤怒的小鸟(Angry Birds)这款游戏的故事相当有趣,为了报复偷走鸟蛋的肥猪们,鸟儿以自己的身体为武器,仿佛炮弹一样去攻击肥猪们的堡垒。(Angry Birds)
    2013-11-10 11:35:51下载
    积分:1
  • Checker
    经典的西洋跳棋程序。 运用机器学习方法实现人机对弈。 方便大家学习。(Classic checkers program. The use of machine learning methods to achieve human-computer chess. To facilitate them to learn.)
    2020-11-16 06:29:46下载
    积分:1
  • guessNumber
    入门级第一个游戏;猜数字游戏;超级无敌巨简单的(Initial level first game; guess the number game; super invincible huge simple)
    2020-06-21 08:40:01下载
    积分:1
  • llk
    自己写的一个连连看小游戏,可能有点小错误。有3种不同的等级,可以选择背景和连连看的图片,有音效,排行榜,外挂,提示和重排。(To write a Lianliankan game, probably a little wrong. There are three different levels, you can select the background and lianliankan pictures, have a sound, charts, plug-in, tips and rearrangement.)
    2014-01-04 14:08:58下载
    积分:1
  • C++扫雷代码
    简易扫雷游戏,不用图片,直接运行即可
    2022-03-01 23:55:22下载
    积分:1
  • saolei
    vb写的扫雷外挂源码,学习内存操作的朋友不妨可以看看呵呵(vb wrote mine external source, a friend may wish to study memory operations can see Oh)
    2012-01-17 15:43:26下载
    积分:1
  • 696516资源总数
  • 106611会员总数
  • 19今日下载