Tetris-Basic icon indicating copy to clipboard operation
Tetris-Basic copied to clipboard

Tetromino Rotates Into Another Tetromino

Open amolgorithm opened this issue 2 years ago • 1 comments

Seems that a tetromino piece overlapped on another tetromino after rotation into it (image attached below). Basically, when the tetromino was rotated, part of it overlapped another tetromino nearby and "merged". I would presume that this is because of the boundaries bug/error that is mentioned in #5. However, it did serve as useful cheat code for me to prevent reaching the top by merging tetrominoes to save some space 🙂.

rotation_issue

amolgorithm avatar Feb 23 '23 05:02 amolgorithm

if anyone want to fix this you need fix collision and wrapping issues in the moveleft, movedown, moveright and rotate function

BeornG avatar May 26 '23 15:05 BeornG