Refactored. Collision detection is now managed from the Piece class.