You have got a good assignment .Do not mix 2 operation , first code "stay away" from other robot and then try to avoid color , there may be situtation like robot cannot avoid color to stay away from the other robot.
Reputation Points: 769
Solved Threads: 128
Banned
Offline 1,910 posts
since May 2006