Hey guys,
Does anyone know of a algorithm to scan for different colored pieces of paper along the floor in three different rooms? The victims will be on a solid line, then in the next room the line will be broken, and then in the next room there will be no line. What is the best algorithm for the job? Flood fill?