Adds friendly rotation when adjacent to blocks or board edge.