Computer plays Tetris by itself

Some not perfect AI used.
ダウンロード: 307
更新 2011/11/15

ライセンスの表示

http://simulations.narod.ru/

Computer plays classic Tetris by itself, 10x20 gamepad, 7 random 4-squares Tetris blocks come. There are some not-perfect AI: scan all positions and all rotation to find minimum of value: number_of_holes + relative_high. Number of holes in gamepad is used to break tie. Usually game over at 10-80 lines.

See how it works here:
http://www.youtube.com/watch?v=Yeiy-K1ztfY

Run test1.m to see.

引用

Maxim Vedenyov (2024). Computer plays Tetris by itself (https://www.mathworks.com/matlabcentral/fileexchange/33779-computer-plays-tetris-by-itself), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2010b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersVideo games についてさらに検索
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0