Closed jamespeilunli closed 3 years ago
Well, we can first deal with the bug where the blue piece is hanging off the edge.
This bug is probably due to #46, but let me confirm.
I just played it for a bit, and it isn't occurring. I'll get my mom to play it sometime later I guess.
My mom was playing the game, and she wanted the tick rate to be faster. I temporarily doubled the rate, changing
if t % 30 == 0
on line 23 intetris.rb
toif t % 15 == 0
. After playing for a bit, my mom frantically tried to move the blue tetromino (on the bottom part of the image) right, and it resulted in the blue tetromino "hanging" of the edge. After a few turns after that, the floating purple tetromino went dead, although it didn't collide with anything.I have no idea if the blue tetromino had to do with anything, but it was something unusual that happened before the bug.
This is a very specific bug, and I don't think we can easily recreate it, but it's out there. Definitely no hurry to fix it.