登录
首页 » matlab » Matlab2048

Matlab2048

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

  • virtualbutton
    基于vuforia的增强现实虚拟按钮功能及unity案例(Virtual button function of augmented reality based on vuforia)
    2017-11-20 14:08:59下载
    积分:1
  • BattleOffice2
    出现对象时,就设计对象,直到漏打5个对象时,则失败。(There object to the design object, until the leak to 5 objects, then fails.)
    2011-02-07 15:02:45下载
    积分:1
  • CuraEngine-master
    3维切片算法引擎写上传资料的详细功能、包含内容说明(至少要20个字)。尽量不要让站长把时间都花费在为您修正说明上。压缩包解压时不能有密码。(Three dimensional slice algorithm engine written detailed upload function, including the content description (at least 20 characters). Try not to let station to the time spent on your note on the amendment. Extracting compressed package can not have a password.)
    2013-11-08 10:19:08下载
    积分:1
  • 11
    说明:  一个和电脑猜拳的小游戏,适合C++初学者。(A computer game and small game, suitable for beginners C++ language. )
    2015-10-11 13:03:52下载
    积分:1
  • Java6_3D_Development
    java 6 3D 游戏开发指南,经典全面细致的分析,深入浅出,宝贵的资源。(Pro Java™ 6 3D Game Development,This book is divided into three main sections: Java 3D, nonstandard input devices for game playing, and JOGL.)
    2017-04-16 20:19:01下载
    积分:1
  • 2.2LOD
    LOD地形的一个例子·近远摄像机观察三角面得不同个数(hellow)
    2009-11-16 15:52:21下载
    积分:1
  • ball
    桌面弹球是游戏中常见的游戏,从以前的掌上游戏机到如今的手机游戏,都是一个十分经典的游戏。玩家控制一个可以左右移动的挡板去改变运动中小球的移动方向,目的是用小球消除游戏屏幕中的所有障碍物到达下一关,在障碍物被消除的过程中,可能会产生一些能改变挡板或者小球状态的物品,例如:挡板变长、变短,小球威力加强等等。本章主要介绍如何实现一个简单的弹球游戏,让读者了解“动画”的实现原理。(Desktop pinball game is common in game, from the previous game boy to today s mobile games, is a very classic game players control a can move around the damper to change the ball movement direction of the movement, the purpose is to use the ball game screen to eliminate all the obstacles and reach the next level, in the process of obstacle is eliminated, may produce some can change baffle or ball state items, such as: baffle get long become short, ball power to strengthen and so on this chapter mainly introduces how to realize a simple pinball game, let the reader know animation principle )
    2012-11-21 12:25:28下载
    积分:1
  • 比特币大作战
    个人独立小游戏 至少需要两个人联网作战 客户端开源
    2023-04-17 19:20:09下载
    积分:1
  • wuziqi
    简单实用的五子棋小游戏.好像有点弱智...(Simple and Practical Renju game. A little bit mentally retarded)
    2009-09-15 11:05:01下载
    积分:1
  • Poker
    用socket 编写的够击.自定义了网络传输的规约,和发牌规则.(Socket prepared with enough hit. Since the definition of the network transmission of the Statute, and licensing rules.)
    2008-04-19 15:27:21下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载