登录
首页 » matlab » Matlab2048

Matlab2048

于 2020-12-10 发布 文件大小:2KB
0 319
下载积分: 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 个回复

  • TC-Game
    TC编的小游戏,当年初学C时的满绩作品,不算很有意思(simple game built with TC)
    2012-08-01 12:21:09下载
    积分:1
  • Geometric-Tools-for-Computer-Graphics
    A book for game programming
    2011-02-05 02:48:56下载
    积分:1
  • 4pintu4
    很简单 的一个4格的拼图游戏(very simple lattice of a four picture arrangement game.)
    2007-06-03 03:52:23下载
    积分:1
  • snakegame
    安卓系统下的贪吃蛇小游戏,eclipse环境下运行。(Android system under the Snake game, eclipse environment.)
    2020-12-30 14:39:00下载
    积分:1
  • TwentyFourPoint
    24点游戏纸牌游戏,使用J2EE的SSH2框架。并涉及数据库操作保存结果。(Card games 24-point game, with J2EE SSH2 framework. And to save the results of operations.)
    2016-01-02 00:28:00下载
    积分:1
  • qinwajiaohuan
    青蛙交换游戏,用c语言编写的,亲测可行!亲们,可以下载学习下~!!!(Frog exchange game, with the c language, pro-test possible! Pro, you can download to learn the next ~!!!)
    2011-11-28 23:20:28下载
    积分:1
  • legenddoc
    说明:  《传奇3》的部分分析文档。包括人物造型、攻击姿势,对游戏开发好者来说,有很好的参考价值。(err)
    2008-09-26 10:55:24下载
    积分:1
  • Snake3
    MFC做的贪吃蛇,已经载入了自定义的鼠标,游戏功能已经实现,学MFC的同学可以多多参考(MFC to do the Snake already loaded a custom mouse game function has been achieved, students can learn MFC lot of reference)
    2013-04-29 11:50:39下载
    积分:1
  • 《网页开发秘笈》源代码
    《网页游戏开发秘笈》源代码,适合不熟悉html/css/js或者新手看的书籍及源代码。书中介绍不同类型的游戏及游戏引擎,看完以后可以去查cocos2d及unity3d的资料进一步学习游戏引擎卡发。
    2022-02-02 13:26:16下载
    积分:1
  • shudu
    C#,数独游戏,带界面,可以查看答案,设置难度等级等(C#, Sudoku, with the interface, you can view the answers, set the difficulty level, etc.)
    2020-12-08 12:19:19下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载