MATLAB2048

所属分类:matlab编程
开发工具:matlab
文件大小:54KB
下载次数:1
上传日期:2016-04-14 23:03:16
上 传 者mathelee
说明:  matlab 编写的2048,很好的学习材料。。。。。。
(2048 code write by matlab, you can play and stuudy some nology.)

文件列表:
MATLAB2048\2048 MATLAB.mlappinstall (35883, 2014-10-15)
MATLAB2048\Game2048AIPlayer.m (1265, 2014-10-15)
MATLAB2048\Game2048Simulator.m (7287, 2014-10-15)
MATLAB2048\license.txt (1319, 2014-10-15)
MATLAB2048\myAI.m (176, 2014-10-15)
MATLAB2048\myAI_sequential.m (358, 2014-10-15)
MATLAB2048\NonAppVersion\Game2048.m (18861, 2014-10-15)
MATLAB2048\NonAppVersion\Game2048AIPlayer.m (1265, 2014-10-15)
MATLAB2048\NonAppVersion\GameBlock.m (6633, 2014-10-15)
MATLAB2048\NonAppVersion\iconData.mat (4042, 2014-10-15)
MATLAB2048\NonAppVersion\myAI.m (176, 2014-10-15)
MATLAB2048\NonAppVersion\myAI_sequential.m (358, 2014-10-15)
MATLAB2048\NonAppVersion\play2048.m (152, 2014-10-15)
MATLAB2048\NonAppVersion\TwentyFortyEight.m (11846, 2014-10-15)
MATLAB2048\TwentyFortyEight.m (11252, 2014-10-15)
MATLAB2048\NonAppVersion (0, 2015-07-13)
MATLAB2048 (0, 2015-07-13)

Game 2048 - MATLAB Edition * If you are running R2012b or newer, install the App by double-clicking on "2048 MATLAB.mlappinstall". * If you are running R2009b - R2012a, run "play2048" inside the folder "NonAppVersion". * For programmatically simulating game solving algorithms, use "Game2048Simulator". For example, g = Game2048Simulator(@myAI); simulate(g, 100) viewResult(g, 15) The algorithm must be a function that takes in a 4x4 matrix representing the game board (NaN for empty spots) and returns a character array representing the direction to move ('up', 'down', 'right', 'left'). See "myAI.m" and "myAI_sequential.m". % Copyright 2014 The MathWorks, Inc. % Jiro Doke

近期下载者

相关文件


收藏者