登录
首页 » matlab » Matlab2048

Matlab2048

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

  • zuma
    祖玛小游戏 实现基本功能 基本算法 给大家参考一下 地图两种圆形 和 直线(Zuma game to achieve the basic functions basic algorithm to refer to two kinds of circular and linear maps)
    2013-09-02 22:50:26下载
    积分:1
  • Backgammon
    五子连珠的VC源码,简单有趣 (Five or VC source, easy and fun )
    2013-07-20 17:54:18下载
    积分: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
  • 电子钟
    说明:  电子时钟游戏,可以实现游戏的界面,开发设计(Electronic clock game it can make game face and design)
    2020-03-26 11:12:49下载
    积分:1
  • c++ 21点源码(入门级)
    二十一点 控制台小游戏
    2020-02-26下载
    积分:1
  • 石器LNSLUA脚本源码
    应用背景LNS LUA源码,多达上百个LUA脚本,基于lns引擎编写。包括修改密码,宠物兑换,抓猪,修改名字,委托,租赁,抽奖,自动化PK,攻城,野外BOSS,签到,魔王,观战,任务查询,传送师等等。关键技术Lua source code of LNS, as many as one hundred, based on LNS engine. Including changepassswd, changepet, capturepig, changename, entrust, rentsystem, lotto, autopk, attackcity, randomboss, registration, floordifi, lookbattle, querymission, transfer, etc.
    2022-04-08 13:48:16下载
    积分:1
  • XNARPGBookCode
    RPG Programming Using XNA Game Studio 3.0 源代码(source code for RPG Programming Using XNA Game Studio 3.0)
    2009-06-19 19:29:27下载
    积分:1
  • Pingtu
    说明:  Visual C++ 开发的拼图游戏,你可以下载下来学习,在vc6.0下能顺利运行(Visual C++ development jigsaw puzzle, you can download it and learn to run smoothly under the vc6.0)
    2011-03-05 13:26:44下载
    积分:1
  • stockfish-6-win
    stockfish 国际象棋引擎6.0源码。最近2015年所有比赛均排名第一,等级分达3316分。注释详细,是学习分析棋类AI最好源码。(Stockfish is a free UCI chess engine )
    2015-09-20 13:16:35下载
    积分: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
  • 696516资源总数
  • 106914会员总数
  • 0今日下载