Hacker News new | ask | show | jobs
by amenghra 5110 days ago
There are 5 possible collisions: top edge, left edge, right edge, bottom edge and the tail.

Your proposal does not cover the top edge.