登录
首页 » matlab » Matlab2048

Matlab2048

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

  • chinesechess
    C++ Builder程序设计范例——中国象棋 pdf电子书加源码(C++ Builder programming examples- Chinese Chess pdf e-book plus source)
    2009-04-28 16:02:50下载
    积分:1
  • LabTest2
    黑杰克學校測驗題,從裡面的碼發展出整個遊戲(Black Jack school quiz, from the inside out the entire game code development)
    2013-08-03 07:37:33下载
    积分:1
  • Visual+C++开发经典案例详解+源代码
    《Visual+C++游戏开发经典案例详解》源代码
    2022-02-15 03:14:32下载
    积分:1
  • hongxindazhanyuanma
    JAVA编程的小游戏,名字是红心大战,跟电脑上的游戏完全一样.(JAVA Programming small game, the name of the association war, with the computer game on the same.)
    2007-07-02 07:18:48下载
    积分:1
  • Maze
    自己用Java写的一个随机生成迷宫程序,采用深度优先算法生成迷宫,模拟小老鼠走迷宫。(A randomly generated maze procedure written in Java, using depth-first algorithm to generate a maze to simulate the maze of little mice.)
    2012-06-03 10:22:53下载
    积分:1
  • MIME-Base64-3.07.tar
    说明:  RSS用插件 RSS用插件 (RSS with RSS plug-ins with plug-ins)
    2008-10-03 14:46:13下载
    积分:1
  • Backgammon
    五子连珠的VC源码,简单有趣 (Five or VC source, easy and fun )
    2013-07-20 17:54:18下载
    积分:1
  • 大漠偏色计算器V2.2(Delphi源码)
    大漠偏色计算器 (Delphi源码),用于配合大漠插件,图色使用,方便找图、找色,开源(Desert Bias Calculator (Delphi source code), used to cooperate with the Desert Plug-in, the use of graphics and colors, easy to find pictures, colors, open source)
    2020-08-17 18:48:23下载
    积分:1
  • 13飞机大战
    说明:  实现了飞机大战游戏,可以进行全真模拟飞机大战场景(Realized the aircraft war game, can carry on the true simulation aircraft battlefield scene)
    2020-06-19 23:20:02下载
    积分:1
  • 盛大传奇外挂原代码
    一个盛大传奇外挂原代码,可以编译执行的!好东东!(a grand legend external source, the implementation of the compiler! Wanton good!)
    2005-07-13 14:22:36下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载