20.2.4 Handle Bottom Collision

This method describes what to do if a block hits the pile. Four simple statements are needed:

  1. Call the changeFocusBlock method.
  2. Check whether rows can be removed from the Pile.
  3. Pass the number of deleted lines (the result of the previous line) to the Score object.
  4. check if the game is over with the the checkLoss method.