/* File : Scene3.ch*/
/* This program is the for 2014 RoboPlay Competition (Video)
http://c-stem.ucdavis.edu
Video Title: GirlBot&BoyBot
School Name: Luther Burbank High School
School District: Sacramento City Unified School District
Student Names: Katherine Lucero, Mitchel Souaysene, edited by Reina Florez
Teacher Advisors: Mr. Dagler and Mr. Williams
*/
 
 
#include<linkbot.h>
 
CLinkbotI boybot1, girlbot1, polarbear1;
 
boybot1.connect();
girlbot1.connect();
polarbear1.connect();
 
/*girl and boy are playing hide and seek*/
girlbot1.move(100,NaN,100);
girlbot1.move(588,NaN,-588);
girlbot1.move(-100,NaN,-100);
girlbot1.move(288,NaN,-288);
boybot1.moveNB(588,NaN,-588);
girlbot1.moveNB(588,NaN,-588);
boybot1.moveWait();
girlbot1.moveWait();
boybot1.moveNB(-588,NaN,588);
girlbot1.moveNB(-588,NaN,588);
boybot1.moveWait();
girlbot1.moveWait();
 
girlbot1.move(-100,NaN,-100);
polarbear1.move(100,NaN,100);
polarbear1.move(500,NaN,-500);
girlbot1.moveNB(100,NaN,100);
boybot1.moveNB(100,NaN,100);
girlbot1.moveWait();
boybot1.moveWait();
boybot1.move(-100,NaN,-100);
boybot1.moveNB(100,NaN,100);
girlbot1.moveNB(100,NaN,100);
boybot1.moveWait();
girlbot1.moveWait();
boybot1.moveNB(400,NaN,-400);
girlbot1.moveNB(400,NaN,-400);
boybot1.moveWait();
girlbot1.moveWait();
girlbot1.moveNB(-100,NaN,-100);
boybot1.moveNB(-100,NaN,-100);
girlbot1.moveWait();
boybot1.moveWait();
girlbot1.moveNB(1050,NaN,-1050);
boybot1.moveNB(1050,NaN,-1050);
girlbot1.moveWait();
boybot1.moveWait();