examples/pending/netris/src/grid.rb
# Drop piece to the bottom.
# To make sure we only drop as far as collisions allow, we drop each row
# and check collisions. Once we collide, move back up and freeze
Drop piece to the bottom.
To make sure we only drop as far as collisions allow, we drop each row
and check collisions. Once we collide, move back up and freeze
Drop piece to the bottom . To make sure we only drop as far as collisions allow we drop each row and check collisions . Once we collide move back up and freeze
def drop_piece
    return unless @falling_piece
    loop do
      break if piece_down
    end
  end
def drop_piece return unless @falling_piece loop do break if piece_down end end
Drop piece to the bottom.
Drop piece to the bottom .
# piece_down takes care of finishing on hit