登录
首页 » matlab » Matlab2048

Matlab2048

于 2020-12-10 发布 文件大小:2KB
0 285
下载积分: 1 下载次数: 12

代码说明:

  通过按键(W,A,S,D或方向键)控制小块的移动方向,当有两个小块相同时,把两者合并,产生一个新块(其值90%为2,10%为4)。并给予一定的分数,记录在数据文件中,显示在界面上。当最大块的值达到2048时,您将获得胜利,胜利后您可以选择继续游戏(当最大块的值为4096时,您将获得连胜,依次类推),或者退出游戏。(By controlling buttons (W, A, S, D or direction key), we control the moving direction of small pieces. When two blocks are in the same way, we merge them into a new block (the value is 90%, 2, 10% is 4). And give a certain score, record in the data file, display on the interface. When the maximum block value reaches 2048, you will win. After winning, you can choose to continue playing. When the maximum block value is 4096, you will win the game in a row or by analogy.)

文件列表:

move_element.m, 1079, 2014-07-21
move_mat.m, 1633, 2014-07-21
valid_check.m, 488, 2014-07-24
add2mat.m, 461, 2014-07-21
main.m, 1065, 2014-08-16

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

发表评论

0 个回复

  • OGRE-MODEL
    说明:  ogre教程之模型绘制,讲的很详细,对大家肯定有用,尤其是初学者(ogre tutorial draw the model, said very detailed, we certainly useful, especially for beginners)
    2011-04-16 10:42:27下载
    积分:1
  • PlantomGo
    幻影围棋棋源代码,参加计算机博弈比大赛亚军的代码。(Phantom Go chess source code, to participate in a computer game than the runner-up code.)
    2021-01-20 22:48:43下载
    积分:1
  • C# 闯关小实例源码下载(上下左右箭头操作)
    看了就知道了,根据键盘操作正确与否决定是否过关,如图
    2014-11-28下载
    积分:1
  • chinesechess
    C++ Builder程序设计范例——中国象棋 pdf电子书加源码(C++ Builder programming examples- Chinese Chess pdf e-book plus source)
    2009-04-28 16:02:50下载
    积分:1
  • 贪吃蛇VC6源码
    经典的贪吃蛇游戏。玩家通过键盘控制蛇在地图上寻找食物,吃下食物会使蛇变长,吃到一定数量的食物就会过关。
    2022-02-20 23:34:38下载
    积分:1
  • androidzumagame
    android祖玛游戏源码 - Zuma game android source code(Zuma game android source code)
    2013-12-02 11:47:37下载
    积分:1
  • qizhuanPP
    棋壮++(中国象棋UCCI引擎)源程序是基于UCCI协议开发的中国象棋程序引擎,可加载于象棋旋风、弈天、兵河等象棋界面。(Chess the strong++ (Chinese chess the UCCI engine that) source is based on Chinese chess program UCCI protocol development engine, can be loaded in xuanfeng, yitian Binghe chess interface.)
    2013-01-08 13:18:38下载
    积分:1
  • 1
    关于麻将机的原理以及机械结构,还有就是改良计划(About mahjong machine principle and mechanical structure, there is improvement programs)
    2013-11-10 22:40:04下载
    积分:1
  • octree
    3Do游戏代码,基于四差数的地形程序,lod地形实现。(3Do game code, based on the difference of four terrain procedures, incomplete realization of the terrain.)
    2005-04-05 19:14:14下载
    积分:1
  • sPCK
    完美世界游戏客户端pck解包打包工具,同时支持cup更新包解包。(Perfect world game client PCK unpack packaging tools, at the same time support CPU update package. )
    2013-10-24 15:03:00下载
    积分:1
  • 696516资源总数
  • 106428会员总数
  • 7今日下载