Matlab 2048

バージョン (3.16 KB) 作成者: Joren Heit
Matlab implementation of the addictive game 2048

ダウンロード 1K 件

更新 2014/3/25


This game, recently invented (March 2014) by Gabriele Cirulli, is gaining popularity due to both its simplicity and complexity!
The only goal is to create a tile containing the number 2048. You do this by sliding the numbered tiles around (using the arrow-keys). When two identical numbers meet, they merge by adding up. This allows you to generate powers of 2, but it will get exponentially harder as you get further along!
For more information on the game, I refer to the Wikipedia entry at
This implementation, I must admit, is poorly documented, because it was just an afternoon project. I think however that the code is pretty much self-documenting. If not, you are free to ask anything!

Have fun and post your high-scores for some nice competition! :-D

To play:
- download and extract the submission
- run >> start2048



Joren Heit (2022). Matlab 2048 (, MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2012a
Windows macOS Linux
タグ タグの追加

ヒントを得たファイル: Beautiful and distinguishable line colors + colormap

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!