3 ms·
I recently learned that the rules of Tetris are surprisingly subtle. For example, depending on how piece rotation is implemented, it may or may not be possible
by cousin_it 11y ago
I recently learned that the rules of Tetris are surprisingly subtle. For example, depending on how piece rotation is implemented, it may or may not be possible to clear three lines with a T piece ("T-spin triple").
- Someone 11y agoI guess you are thinking of other orientations than straight up, as it is trivial to clear three lines with a T-piece: .....TTT.. ......T... ......T... ..........
- zeeboo 11y agoThat's not a T piece. It has 5 blocks. The subtlety is about a board like .XXXXXXXXX ..XXXXXXXX .XXXXXXXXX and if you can put a T piece inside of the gap on the left.
- Someone 11y agoOops. My mind is more pentomino-oriented, I guess.
- JoshTriplett 11y agoAll seven pieces ("tetrads", from "tetromino") in standard tetris have 4 blocks, not 5.
- tamana 11y agoBy rotating the piece twice (and never reifying the intermediate position) immediately before/during the step that moves the pieces down
- cousin_it 11y agoIt's not so easy. You also need a small overhang above the hole, and make the rotation "kick" against the overhang to make the piece fit. I think in some implementations the rules for wall kicks actually allow you to climb up certain shaped walls, all the way back to the top of the screen.
- yangman 11y agoHere is a list of all rotations systems known to be in use by various Tetris implementations: http://harddrop.com/wiki/Category:Rotation_Systems http://harddrop.com/wiki/Category:Rotation_Systems