Line of sight algorithm | ScratchStats