I have a project for a course I'm taking requiring us to make a playable game of tetris using the gui of matlab. So I've become stuck through lack of knowledge how to do this properly. After a brief look on google I found a wonderful code by Matt Fig, but he doesn't use the necessary function, i.e. transformation matrices, hgtransform, makehgtform. I was hoping that people could advise how to fix this, mostly for the rotation aspect of the game. As well as a preview of where the piece will be assuming it follows the same path.
Zev Steinberg (2020). Tetris Project (not complete!) (https://www.mathworks.com/matlabcentral/fileexchange/54424-tetris-project-not-complete), MATLAB Central File Exchange. Retrieved .
Inspired by: MATLABTETRIS