I suck at this game, but it plays nicely, I feel the computer opponents are quite smart, or I am quite dumb ;-)
Try to confine them using the rainbow.