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!
引用格式
lp18692 (2024). Tetris for MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/78501-tetris-for-matlab), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2017a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!