登录
首页 » matlab » Matlab2048

Matlab2048

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

  • PC-boyi
    象棋是一种完全知识博弈,本书介绍一些技术应用于这种博弈(Chess is a game full of knowledge, the book introduces some of the techniques used in this game)
    2011-11-11 17:51:47下载
    积分:1
  • 幻想西wap
    完整,稀有,市面上没有这么完整得wap php 文字游戏程序,怀念(Complete, rare, there is no such complete WAP PHP word game program on the market, miss)
    2020-09-25 05:57:50下载
    积分:1
  • 4363473454
    易语言苹果机游戏源码,易语言写的游戏程序,很好的参考资料。(LOGO support library application of the turtle racing, easy language to write the game program, a good reference.)
    2013-10-05 13:02:14下载
    积分:1
  • Tetris(02)
    陈广老师 c#俄罗斯方块游戏的视频教程2.swf(b)
    2010-05-10 10:05:08下载
    积分:1
  • eluosi
    用c++编写的俄罗斯方块小游戏,有兴趣的可以学习下(With c++ Tetris game, interested can learn under)
    2013-10-15 22:11:42下载
    积分:1
  • C+++Weekend+Crash+Course
    C+++Weekend+Crash+Course这是一个中国象棋的原代码(C+++ Weekend+ Crash+ Course This is a Chinese chess original code)
    2008-07-04 11:19:10下载
    积分:1
  • 千年SDB修改程序
    说明:  千年服务端SDB修改神武奇章千年服务端SDB修改(test,this is test ,test,this is test)
    2020-06-30 16:00:01下载
    积分:1
  • 贪吃蛇课程设计
    此源码源自大三上学期java实践课程,采用java语言,游戏界面简单,实现了经典游戏贪吃蛇的最基本功能,包括上下左右方向键,分数计算,失败判断等功能。随机生成豆子,适合在校学生在做课程设计时参考使用。在代码中的关键功能部分加入了代码注释,便于理解与修改。使用mfc运行时可能因为版本不同而出现小错误,届时自行修改即可。
    2022-01-22 12:30:13下载
    积分:1
  • five-chess
    python 实现人机对弈的五子棋游戏,可以判断胜负。功能简单(five chess)
    2015-05-23 09:28:25下载
    积分:1
  • 在SAMP中实现创建地盘
    说明:  它可以在SAMP游戏中实现创建地盘。它需要自己运行,实现不同的颜色。(It can create sites in SAMP games. It needs to run on its own to achieve different colors.)
    2020-06-25 00:00:01下载
    积分:1
  • 696516资源总数
  • 106658会员总数
  • 16今日下载