Tetris for Dummies
Tetris game code with sounds, high scores and gravity. It is intended as a learning tool with its extensive comments and laid out code with easy getarounds and simple functions. The code explores things such as loops and if statements, patch, save/load, GUI techniques, callbacks and sound generation.
It can be easily edited to suit one's needs and/or to make it more modular, and I hope at least some people will learn new things from it :)
Cita come
Husam Aldahiyat (2024). Tetris for Dummies (https://www.mathworks.com/matlabcentral/fileexchange/21246-tetris-for-dummies), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxTag
Riconoscimenti
Ispirato: MATLABTETRIS
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.