登录
首页 » matlab » snake

snake

于 2020-06-21 发布 文件大小:2KB
0 269
下载积分: 1 下载次数: 1

代码说明:

  这是二维的Matlab贪吃蛇小程序,操作简单易上手,十分适合学习(This is a two-dimensional Snake applet, easy to use and easy to use.)

文件列表:

chebsnake.m, 7210 , 2019-07-05

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

发表评论

0 个回复

  • bug
    一个基于C++的打虫子游戏,难度递增,虫子的轨迹随机。(A C++ to play insect games, difficulty increase.)
    2013-10-29 09:30:14下载
    积分:1
  • greedy-snake
    vs用c#语言编写的贪吃蛇小程序,可以拿来学习c#(vs c# language with Snake small program that can be used to learn c#)
    2013-07-17 17:48:41下载
    积分:1
  • 4576585477
    台球瞄准器,游戏编程源码,很好的参考资料。(Billiards sight, game programming source code, a good reference.)
    2013-10-08 19:29:14下载
    积分:1
  • hrd
    华容道游戏,大家一定都玩过,这个介绍源代码可以提高您的c#的能力(Huarong game, we must have played this introductory source code can improve your c#)
    2012-08-24 23:42:59下载
    积分:1
  • 2
    Background Given a set of rectangles {R1, R2, …, Rn}, compute the area of their common intersection. i.e., Area(R1∩R2∩…∩Rn) The edges of the rectangles R1, R2, …, Rn, are either vertical or horizontal lines. For example, the intersection of 4 rectangles, R1, R2, R3, and R4, in the following figure is the shaded rectangle. Input The input contains (N + 1) lines. The first line specifies the number of rectangles N, where 1 < N < 1000. Since the sides of the rectangles are parallel to the x-axis and y-axis, each rectangle is bounded by the lines x = x1, x = x2, y = y1 and y = y2 and each subsequent line of the input file thus specifies one rectangle in the following format: x1 x2 y1 y2 such that 0 <= x1 < x2 <= 10000 and 0 <= y1 < y2 <= 10000, and x1, x2, y1 and y2 are integers. Output The output file contains the area of the intersection of all the rectangles.
    2013-11-15 02:58:38下载
    积分:1
  • snake
    这是二维的Matlab贪吃蛇小程序,操作简单易上手,十分适合学习(This is a two-dimensional Snake applet, easy to use and easy to use.)
    2020-06-21 10:20:01下载
    积分:1
  • snake2
    说明:  这是三维贪吃蛇小游戏,在一个空间曲面上爬行,比较难操作(This is a 3D Snake game that crawls on a spatial surface and it is difficult to control.)
    2020-06-21 10:20:02下载
    积分:1
  • LifeGame
    生命游戏(LifeGame),利用VBA实现,在Excel中运行,以单元格模拟图形界面(Game of Life (LifeGame), implemented using VBA running in Excel cell simulation graphical interface)
    2012-12-12 15:53:49下载
    积分:1
  • Ar_dadishu_3
    一个AR打地鼠游戏,用手机扫一扫可以出现打地鼠场景(a simple Ar game,it is interesting)
    2017-09-11 11:27:36下载
    积分: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
  • 696516资源总数
  • 106914会员总数
  • 0今日下载