登录
首页 » matlab » Matlab2048

Matlab2048

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

  • Cube
    java写的简单的魔方,可用鼠标拖动,代码简单易用(a java simple grogram )
    2011-05-11 17:51:59下载
    积分:1
  • wuziqi
    五子棋——实现游戏五子棋的操作。。。比较简单适合初学者(Backgammon- achieve game gobang operation. . .)
    2012-12-17 18:00:26下载
    积分:1
  • java扫雷源码
    游戏分为三个难度等级,分别有12、24、36颗雷。单击鼠标左键为踩雷。单击鼠标左键在标记,疑问,空白三种状态中循环。同时单击鼠标左右键为踩单击点在内的周围九格内所有没有标记为已标记的所有格子。同时程序从你单击第一次时开始计时,到胜利或引爆地雷终结。 胜利后。单击三个难度选择按钮内的一个重起游戏。 单击Game菜单Exit菜单项或程序对话框上的关闭按钮退出游戏。
    2022-03-07 14:34:12下载
    积分:1
  • 87657435876
    java写的手机小游戏,黄金矿工2,附带源码。(Written in Java mobile phone games, 2 gold miners, with source code.)
    2013-09-09 20:02:32下载
    积分:1
  • 111
    俄罗斯方块 Visual C++ 6 源码(Tetris Visual C++ 6 source)
    2007-11-25 09:42:25下载
    积分: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
  • mir2_server
    02年原装意大利泄露传奇2服务端汉化.已绝版的国际版游戏,意大利盗版过去的原版传奇2服务端(2002 Original Italian leaked Legend 2 server finished. Out of print, the original legendary Italian pirated past 2 server)
    2021-02-15 16:39:48下载
    积分:1
  • wangloucaishuozi
    網絡對戰猜數字,可以网络对战的,VB编写的(Network猜数字war, the war can network, VB prepared)
    2009-01-05 20:55:07下载
    积分:1
  • GreedySnake
    利用简单的数组、循环和条件结构,编写贪吃蛇游戏。(Using simple arrays, loops and conditional structures, preparation of Snake game.)
    2015-09-05 16:51:14下载
    积分:1
  • TankGame-master
    基于PYTHON的的坦克大战 支持坦克升级,购买道具( Tankedaizhan based on PYTHON Support tank upgrade, buy items)
    2013-12-05 21:35:18下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载