登录
首页 » matlab » Matlab2048

Matlab2048

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

  • 229宿舍贪吃蛇成品
    说明:  数组为基础的贪吃蛇程序,完成了基本功能,用户可自行下载完善,有调节难度等功能(Array-based Snake Eating Program)
    2020-06-23 14:20:02下载
    积分:1
  • legenddoc
    说明:  《传奇3》的部分分析文档。包括人物造型、攻击姿势,对游戏开发好者来说,有很好的参考价值。(err)
    2008-09-26 10:55:24下载
    积分:1
  • MainForm
    俄罗斯方块源代码 小弟敬上 希望大家多关照(Russian box source code younger brother's Note we hope more care)
    2007-06-29 20:56:12下载
    积分:1
  • 6603xiaojiu
    说明:  6603xiaojiu source code
    2019-02-23 21:33:39下载
    积分:1
  • pacman
    吃金豆 很好玩的 非常好玩拉 用TC 2.0编的(pacman)
    2009-06-26 09:24:32下载
    积分:1
  • Donuts4_full_source
    Donuts4_full_source:3d游戏面包圈大战完整源代码,用directx9c,vc7编译。(Donuts4_full_source : 3d war games bread circle complete source code, use directx9c, vc7 compiler.)
    2006-09-15 18:17:15下载
    积分:1
  • lianliankan
    连连看的VB源代码,想要学习的朋友们赶紧了(VB code of lianlinakan ,a famous game in China)
    2010-01-01 20:35:33下载
    积分:1
  • 问道[GM管理工具]
    问道GM工具 修改数据库文件,添加元宝(wendao GM tool..change mysql)
    2020-06-21 07:00:01下载
    积分:1
  • Java-Gobang-master
    说明:  人工智能、五子棋、极小极大值算法、剪枝算法(Artificial intelligence, Gobang, minimax algorithm, pruning algorithm)
    2020-01-03 10:43:39下载
    积分:1
  • MapEditor_bate
    说明:  一个游戏开发能用到的地图编辑器项目完整代码,既可以研究学习也可以使用他开发RPG游戏(Game developers can use a map editor to project a complete code, we can study to learn he can also use the development of RPG games)
    2008-10-29 16:19:37下载
    积分:1
  • 696518资源总数
  • 106174会员总数
  • 31今日下载