Features include:
- soft drop and hard drop
- display ghost piece in hard-drop position (optional)
- indicate next piece (optional)
- left and right rotation
- customizable game area size
- customizable key bindings
- Nintendo scoring system
- 3 color schemes
See beginning of code for some options.
Please try it out and let me know about bugs and/or missing features!
Cita come
lp18692 (2024). Tetris for MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/78501-tetris-for-matlab), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2017a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.