Computer plays Tetris by itself

Some not perfect AI used.

Al momento, stai seguendo questo contributo

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.

Cita come

Maxim Vedenyov (2026). Computer plays Tetris by itself (https://it.mathworks.com/matlabcentral/fileexchange/33779-computer-plays-tetris-by-itself), MATLAB Central File Exchange. Recuperato .

Categorie

Scopri di più su Video games in Help Center e MATLAB Answers

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.0.0.0