Files
battle-royal-tetris/public
jozamudi ada9ce73fa Fix elimination check to only eliminate when piece blocks are above visible area
Previously, players were eliminated when currentPiece.y <= 0, which was too
aggressive. Pieces like I, T, S, Z, J, L spawn at y=0 but have empty top rows,
so their actual blocks are at y >= 1 and visible on the board.

Now we check if any part of the locked piece is actually above y=0 (not
visible) before eliminating the player.
2026-03-21 03:05:35 +00:00
..