First, observe the color at the outermost edge of the image; clicking a "cannon" will eliminate that color. The track accommodates up to five cannons, so you must constantly monitor their quantity and colors—running out of space essentially means failure.