// This Java file was automatically generated by ToonTalk for Feb 21i import ap.toontalk.*; // Robot111_3205972067: Wac class Robot111_3205972067 extends TTRobot { Robot111_3205972067(TTNotebook n) { notebook = n; } public TTObject gets(TTObject given) throws TTException { if (!wants.matches(given)) return null; // If given a box that matches the box in his thought bubble (called "wants"), // this robot will do the following: TTObject hand; // push '-' after moving to the fourth hole inside his box given.hole(3).keyboard('-', true, false); given.hole(3).stoppedTyping(); return this; // This robot has finished and will see if the box still matches his thoughts and try again. } } // Robot1908_855035964: Lace class Robot1908_855035964 extends TTRobot { Robot1908_855035964(TTNotebook n) { notebook = n; } public TTObject gets(TTObject given) throws TTException { if (!wants.matches(given)) return null; // If given a box that matches the box in his thought bubble (called "wants"), // this robot will do the following: TTObject hand; TTObject temp1; TTObject temp2; // move to the stack of numbers temp1 = new TTNumber(1); // pick up a number hand = temp1; // push 'x' to change what he is holding hand.keyboard('x', false, false); // push '-' to change what he is holding hand.keyboard('-', false, false); hand.stoppedTyping(); // drop it on the third hole inside his box given.holeGets(2, hand); // move to the stack of numbers temp2 = new TTNumber(1); // pick up a number hand = temp2; // push 'x' to change what he is holding hand.keyboard('x', false, false); // push '-' to change what he is holding hand.keyboard('-', false, false); hand.stoppedTyping(); // drop it on the second hole inside his box given.holeGets(1, hand); // push '+' while pointing to the first hole inside his box given.hole(0).keyboard('+', false, false); given.hole(0).stoppedTyping(); return this; // This robot has finished and will see if the box still matches his thoughts and try again. } } // Robot119_1501266042: Hec class Robot119_1501266042 extends TTRobot { Robot119_1501266042(TTNotebook n) { notebook = n; } public TTObject gets(TTObject given) throws TTException { if (!wants.matches(given)) return null; // If given a box that matches the box in his thought bubble (called "wants"), // this robot will do the following: TTObject hand; TTObject temp1; TTObject temp2; TTObject temp3; TTObject temp4; TTObject temp5; // grab a magic wand TTCopier copier = new TTCopier(); hand = copier; // use the magic wand on the fifth hole inside his box hand = copier.applyTo(given.hole(4), this); temp1 = hand; // drop it temp1 = hand; // release the magic wand // move to the stack of numbers temp2 = new TTNumber(1); // pick up a number hand = temp2; // push '0' to change what he is holding hand.keyboard('0', true, false); hand.stoppedTyping(); // drop it temp2 = hand; // grab a magic wand hand = copier; // use the magic wand on the second hole inside his box hand = copier.applyTo(given.hole(1), this); // drop what he just copied on the new number temp2.gets(hand); // release the magic wand // pick up the new number hand = temp2; // push '-' to change what he is holding hand.keyboard('-', true, false); hand.stoppedTyping(); // drop it on the first thing he made or found temp1.gets(hand); // grab a magic wand hand = copier; // use the magic wand on the third hole inside his box hand = copier.applyTo(given.hole(2), this); temp3 = hand; // push 'x' to change the second to last thing he made or found temp3.keyboard('x', true, false); temp3.stoppedTyping(); // drop what he just copied on the first thing he made or found temp1.gets(hand); // use the magic wand on the fourth hole inside his box hand = copier.applyTo(given.hole(3), this); temp4 = hand; // push '/' to change the last thing he made or found temp4.keyboard('/', true, false); temp4.stoppedTyping(); // drop what he just copied on the first thing he made or found temp1.gets(hand); // release the magic wand // pick up the first thing he made or found hand = temp1; // drop it on the first hole inside his box given.holeGets(0, hand); return this; // This robot has finished and will see if the box still matches his thoughts and try again. } } // Robot116_1054347367: Dec class Robot116_1054347367 extends TTRobot { Robot116_1054347367(TTNotebook n) { notebook = n; } public TTObject gets(TTObject given) throws TTException { if (!wants.matches(given)) return null; // If given a box that matches the box in his thought bubble (called "wants"), // this robot will do the following: TTObject hand; TTObject temp1; // grab a magic wand TTCopier copier = new TTCopier(); hand = copier; // use the magic wand on the third hole inside his box hand = copier.applyTo(given.hole(2), this); temp1 = hand; // push '=' to change the last thing he made or found temp1.keyboard('=', true, false); temp1.stoppedTyping(); // drop what he just copied on the first hole inside his box given.holeGets(0, hand); // release the magic wand return this; // This robot has finished and will see if the box still matches his thoughts and try again. } } // Robot1909_855035965: Mace class Robot1909_855035965 extends TTRobot { Robot1909_855035965(TTNotebook n) { notebook = n; } public TTObject gets(TTObject given) throws TTException { if (!wants.matches(given)) return null; // If given a box that matches the box in his thought bubble (called "wants"), // this robot will do the following: TTObject hand; TTObject temp1; TTObject temp2; // move to the stack of numbers temp1 = new TTNumber(1); // pick up a number hand = temp1; // push 'x' to change what he is holding hand.keyboard('x', false, false); // push '-' to change what he is holding hand.keyboard('-', false, false); hand.stoppedTyping(); // drop it on the third hole inside his box given.holeGets(2, hand); // move to the stack of numbers temp2 = new TTNumber(1); // pick up a number hand = temp2; // push 'x' to change what he is holding hand.keyboard('x', false, false); // push '-' to change what he is holding hand.keyboard('-', false, false); hand.stoppedTyping(); // drop it on the second hole inside his box given.holeGets(1, hand); // push '+' while pointing to the first hole inside his box given.hole(0).keyboard('+', false, false); given.hole(0).stoppedTyping(); return this; // This robot has finished and will see if the box still matches his thoughts and try again. } } // Robot1910_855035966: Nace class Robot1910_855035966 extends TTRobot { Robot1910_855035966(TTNotebook n) { notebook = n; } public TTObject gets(TTObject given) throws TTException { if (!wants.matches(given)) return null; // If given a box that matches the box in his thought bubble (called "wants"), // this robot will do the following: TTObject hand; TTObject temp1; TTObject temp2; // move to the stack of numbers temp1 = new TTNumber(1); // pick up a number hand = temp1; // push 'x' to change what he is holding hand.keyboard('x', false, false); // push '-' to change what he is holding hand.keyboard('-', false, false); hand.stoppedTyping(); // drop it on the third hole inside his box given.holeGets(2, hand); // move to the stack of numbers temp2 = new TTNumber(1); // pick up a number hand = temp2; // push 'x' to change what he is holding hand.keyboard('x', false, false); // push '-' to change what he is holding hand.keyboard('-', false, false); hand.stoppedTyping(); // drop it on the second hole inside his box given.holeGets(1, hand); // push '+' while pointing to the first hole inside his box given.hole(0).keyboard('+', false, false); given.hole(0).stoppedTyping(); return this; // This robot has finished and will see if the box still matches his thoughts and try again. } } // Robot118_1715200101: Gec class Robot118_1715200101 extends TTRobot { Robot118_1715200101(TTNotebook n) { notebook = n; } public TTObject gets(TTObject given) throws TTException { if (!wants.matches(given)) return null; // If given a box that matches the box in his thought bubble (called "wants"), // this robot will do the following: TTObject hand; TTObject temp1; TTObject temp2; // move to the stack of numbers temp1 = new TTNumber(1); // pick up a number hand = temp1; // push '0' to change what he is holding hand.keyboard('0', true, false); hand.stoppedTyping(); // drop it temp1 = hand; // grab a magic wand TTCopier copier = new TTCopier(); hand = copier; // use the magic wand on the first hole inside his box hand = copier.applyTo(given.hole(0), this); // drop what he just copied on the new number temp1.gets(hand); // release the magic wand // pick up the new number hand = temp1; // give it to the bird in the second hole inside his box given.hole(1).gets(hand); return this; // This robot has finished and will see if the box still matches his thoughts and try again. } } // Robot120_2092011631: Jec class Robot120_2092011631 extends TTRobot { Robot120_2092011631(TTNotebook n) { notebook = n; } public TTObject gets(TTObject given) throws TTException { if (!wants.matches(given)) return null; // If given a box that matches the box in his thought bubble (called "wants"), // this robot will do the following: TTObject hand; TTObject temp1; TTObject temp2; TTObject temp3; TTObject temp4; TTObject temp5; // move to the stack of numbers temp1 = new TTNumber(1); // pick up a number hand = temp1; // push '0' to change what he is holding hand.keyboard('0', true, false); hand.stoppedTyping(); // drop it temp1 = hand; // grab a magic wand TTCopier copier = new TTCopier(); hand = copier; // use the magic wand on the second hole inside his box hand = copier.applyTo(given.hole(1), this); // drop what he just copied on the new number temp1.gets(hand); // release the magic wand // pick up what's in the fifth hole inside his box hand = given.pickUp(4); // drop it temp3 = hand; // pick up the new number hand = temp1; // push '-' to change what he is holding hand.keyboard('-', true, false); hand.stoppedTyping(); // drop it on the third thing he made or found temp3.gets(hand); // grab a magic wand hand = copier; // use the magic wand on the third hole inside his box hand = copier.applyTo(given.hole(2), this); temp4 = hand; // push 'x' to change the second to last thing he made or found temp4.keyboard('x', true, false); temp4.stoppedTyping(); // drop what he just copied on the third thing he made or found temp3.gets(hand); // use the magic wand on the fourth hole inside his box hand = copier.applyTo(given.hole(3), this); temp5 = hand; // push '/' to change the last thing he made or found temp5.keyboard('/', true, false); temp5.stoppedTyping(); // drop what he just copied on the third thing he made or found temp3.gets(hand); // release the magic wand // pick up the third thing he made or found hand = temp3; // drop it on the first hole inside his box given.holeGets(0, hand); return this; // This robot has finished and will see if the box still matches his thoughts and try again. } } public class ChaseMovieDemo extends TTApplet { public static void main(String args[]) { new TTFrame().begin(new ChaseMovieDemo()); } public void initialize() { intializeToonTalkImages(); intializeNests(); TTNotebook notebook = TT.NOTEBOOK; TTRobot next_robot; TTPicture picture2 = new TTRectangle(500, 500, 1000, 1000, 0, 0, 255, 255, 255, true, true, false); setPicture(picture2); picture2.addPicture(ChaseMovieDemo.PicturePart1(notebook, picture2)); picture2.addPicture(ChaseMovieDemo.PicturePart2(notebook, picture2)); picture2.addPicture(ChaseMovieDemo.PicturePart3(notebook, picture2)); picture2.addPicture(ChaseMovieDemo.PicturePart4(notebook, picture2)); picture2.addPicture(ChaseMovieDemo.PicturePart5(notebook, picture2)); picture2.addPicture(ChaseMovieDemo.PicturePart6(notebook, picture2)); picture2.addPicture(ChaseMovieDemo.PicturePart7(notebook, picture2)); picture2.addPicture(ChaseMovieDemo.PicturePart8(notebook, picture2)); TTObject temp19 = new TTText("Chase Movie Demo"); picture2.addOnBack(temp19); picture2.start(); } public static TTPicture PicturePart1(TTNotebook notebook, TTPicture container) { TTPicture picture3 = new TTRoundedRectangle(268, 767, 462, 375, 0, 0, 248, 192, 240, true, true, false); picture3.addPicture(ChaseMovieDemo.PicturePart9(notebook, picture3)); picture3.addPicture(ChaseMovieDemo.PicturePart10(notebook, picture3)); return picture3; } public static TTPicture PicturePart2(TTNotebook notebook, TTPicture container) { TTPicture picture4 = new TTRoundedRectangle(267, 287, 462, 375, 0, 0, 248, 192, 240, true, true, false); picture4.addPicture(ChaseMovieDemo.PicturePart11(notebook, picture4)); picture4.addPicture(ChaseMovieDemo.PicturePart12(notebook, picture4)); return picture4; } public static TTPicture PicturePart3(TTNotebook notebook, TTPicture container) { TTPicture picture5 = new TTRoundedRectangle(744, 767, 462, 375, 0, 0, 248, 192, 240, true, true, false); picture5.addPicture(ChaseMovieDemo.PicturePart13(notebook, picture5)); picture5.addPicture(ChaseMovieDemo.PicturePart14(notebook, picture5)); return picture5; } public static TTPicture PicturePart4(TTNotebook notebook, TTPicture container) { TTPicture picture6 = new TTRoundedRectangle(747, 285, 462, 375, 0, 0, 248, 192, 240, true, true, false); picture6.addPicture(ChaseMovieDemo.PicturePart15(notebook, picture6)); picture6.addPicture(ChaseMovieDemo.PicturePart16(notebook, picture6)); return picture6; } public static TTPicture PicturePart5(TTNotebook notebook, TTPicture container) { TTPicture picture7 = new TTIndirectPicture(new TTText("Both Bounce"), 275, 551, 395, 50, 0, 0, false, true, false); return picture7; } public static TTPicture PicturePart6(TTNotebook notebook, TTPicture container) { TTPicture picture8 = new TTIndirectPicture(new TTText("Oval Reverses"), 783, 549, 445, 50, 0, 0, false, true, false); return picture8; } public static TTPicture PicturePart7(TTNotebook notebook, TTPicture container) { TTPicture picture9 = new TTIndirectPicture(new TTText("Oval Centers"), 288, 73, 411, 50, 0, 0, false, true, false); return picture9; } public static TTPicture PicturePart8(TTNotebook notebook, TTPicture container) { TTPicture picture10 = new TTIndirectPicture(new TTText("Square Chases"), 771, 73, 445, 50, 0, 0, false, true, false); return picture10; } public static TTPicture PicturePart9(TTNotebook notebook, TTPicture container) { TTPicture picture11 = new TTRectangle(215, 412, 339, 436, 300, 400, 128, 0, 0, true, true, false); picture11.addOnBack(ChaseMovieDemo.PicturePart17(notebook, picture11)); return picture11; } public static TTPicture PicturePart10(TTNotebook notebook, TTPicture container) { TTPicture picture12 = new TTOval(944, 892, 198, 387, -200, -300, 0, 0, 128, false, true, false); picture12.addOnBack(ChaseMovieDemo.PicturePart18(notebook, picture12)); return picture12; } public static TTPicture PicturePart11(TTNotebook notebook, TTPicture container) { TTPicture picture13 = new TTRectangle(845, 55, 339, 436, -300, -400, 128, 0, 0, true, true, false); picture13.addOnBack(ChaseMovieDemo.PicturePart19(notebook, picture13)); return picture13; } public static TTPicture PicturePart12(TTNotebook notebook, TTPicture container) { TTPicture picture14 = new TTOval(353, 257, 152, 287, -69, 42, 0, 0, 128, false, true, false); picture14.addOnBack(ChaseMovieDemo.PicturePart20(notebook, picture14)); picture14.addOnBack(ChaseMovieDemo.PicturePart21(notebook, picture14)); picture14.addOnBack(ChaseMovieDemo.PicturePart22(notebook, picture14)); picture14.addOnBack(ChaseMovieDemo.PicturePart23(notebook, picture14)); return picture14; } public static TTPicture PicturePart13(TTNotebook notebook, TTPicture container) { TTPicture picture15 = new TTRectangle(46, 758, 339, 436, -300, -400, 128, 0, 0, true, true, false); picture15.addOnBack(ChaseMovieDemo.PicturePart24(notebook, picture15)); return picture15; } public static TTPicture PicturePart14(TTNotebook notebook, TTPicture container) { TTPicture picture16 = new TTOval(416, 697, 152, 287, -200, -300, 0, 0, 128, false, true, false); picture16.addOnBack(ChaseMovieDemo.PicturePart25(notebook, picture16)); picture16.addOnBack(ChaseMovieDemo.PicturePart26(notebook, picture16)); return picture16; } public static TTPicture PicturePart15(TTNotebook notebook, TTPicture container) { TTPicture picture17 = new TTOval(825, 398, 198, 387, 28, -88, 0, 0, 128, false, true, false); picture17.addOnBack(ChaseMovieDemo.PicturePart27(notebook, picture17)); picture17.addOnBack(ChaseMovieDemo.PicturePart28(notebook, picture17)); picture17.addOnBack(ChaseMovieDemo.PicturePart29(notebook, picture17)); picture17.addOnBack(ChaseMovieDemo.PicturePart30(notebook, picture17)); picture17.addOnBack(ChaseMovieDemo.PicturePart31(notebook, picture17)); return picture17; } public static TTPicture PicturePart16(TTNotebook notebook, TTPicture container) { TTPicture picture18 = new TTRectangle(562, 340, 339, 436, 100, -64, 128, 0, 0, true, true, false); picture18.addOnBack(ChaseMovieDemo.PicturePart32(notebook, picture18)); picture18.addOnBack(ChaseMovieDemo.PicturePart33(notebook, picture18)); picture18.addOnBack(ChaseMovieDemo.PicturePart34(notebook, picture18)); return picture18; } public static TTPicture PicturePart17(TTNotebook notebook, TTPicture container) { TTPicture picture19 = new TTGIFPicture("klmgjpnlbohccclhlngpfnjgabhgpcka.gif", false, 500, 500, 61, 82, 0, 0, true, true, true); TTBox box20 = new TTBox(6); box20.setHole(0, new TTRemoteInteger(335, null, TT.NO_NUMBER_OPERATION, TT.X_REMOTE, picture19, TT.BRITISH_ENGLISH)); box20.setHole(1, new TTScale('>')); box20.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box20.setHole(3, new TTRemoteInteger(300, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture19, TT.BRITISH_ENGLISH)); box20.setHole(4, new TTScale('>')); box20.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Right" contains a // remote control for the distance from the left side. The second hole // contains a tottering scale. The third hole contains the integer 0. The // hole labeled with "Right Speed" contains a remote control for the speed // towards the right. The fifth hole contains a tottering scale. The sixth // hole contains the integer 0. TTRobot robot23 = new Robot111_3205972067(notebook); TTBox box24 = new TTBox(6); TTBox wants56 = box24; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a tottering scale. // The third hole contains the integer 0. The hole labeled with "Right Speed" // contains any number (for example, a remote control for the speed towards // the right). The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. wants56.setHole(0, TT.BLANK_NUMBER); wants56.setHole(1, new TTScale('<')); wants56.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants56.setHole(3, TT.BLANK_NUMBER); wants56.setHole(4, new TTScale('<')); wants56.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot23.setWants(wants56); TTTeam team23 = new TTTeam(box20, robot23); picture19.addTeam(team23); TTBox box27 = new TTBox(6); box27.setHole(0, new TTRemoteInteger(335, null, TT.NO_NUMBER_OPERATION, TT.X_REMOTE, picture19, TT.BRITISH_ENGLISH)); box27.setHole(1, new TTScale('<')); box27.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box27.setHole(3, new TTRemoteInteger(300, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture19, TT.BRITISH_ENGLISH)); box27.setHole(4, new TTScale('>')); box27.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Right" contains a // remote control for the distance from the left side. The second hole // contains a tottering scale. The third hole contains the integer 1000. The // hole labeled with "Right Speed" contains a remote control for the speed // towards the right. The fifth hole contains a tottering scale. The sixth // hole contains the integer 0. TTRobot robot30 = new Robot111_3205972067(notebook); TTBox box31 = new TTBox(6); TTBox wants57 = box31; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a scale tipped to // the left. The third hole contains the integer 1000. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The fifth hole contains a scale tipped to the // left. The sixth hole contains the integer 0. wants57.setHole(0, TT.BLANK_NUMBER); wants57.setHole(1, new TTScale('>')); wants57.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants57.setHole(3, TT.BLANK_NUMBER); wants57.setHole(4, new TTScale('>')); wants57.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot30.setWants(wants57); TTTeam team30 = new TTTeam(box27, robot30); picture19.addTeam(team30); TTBox box34 = new TTBox(6); box34.setHole(0, new TTRemoteInteger(522, null, TT.NO_NUMBER_OPERATION, TT.Y_REMOTE, picture19, TT.BRITISH_ENGLISH)); box34.setHole(1, new TTScale('<')); box34.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box34.setHole(3, new TTRemoteInteger(400, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture19, TT.BRITISH_ENGLISH)); box34.setHole(4, new TTScale('>')); box34.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Up" contains a // remote control for the distance from the bottom side. The second hole // contains a tottering scale. The third hole contains the integer 1000. The // hole labeled with "Up Speed" contains a remote control for the speed // towards the top. The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. TTRobot robot37 = new Robot111_3205972067(notebook); TTBox box38 = new TTBox(6); TTBox wants58 = box38; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a scale tipped to // the left. The third hole contains the integer 1000. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The fifth hole contains a scale tipped to the // left. The sixth hole contains the integer 0. wants58.setHole(0, TT.BLANK_NUMBER); wants58.setHole(1, new TTScale('>')); wants58.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants58.setHole(3, TT.BLANK_NUMBER); wants58.setHole(4, new TTScale('>')); wants58.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot37.setWants(wants58); TTTeam team37 = new TTTeam(box34, robot37); picture19.addTeam(team37); TTBox box41 = new TTBox(6); box41.setHole(0, new TTRemoteInteger(522, null, TT.NO_NUMBER_OPERATION, TT.Y_REMOTE, picture19, TT.BRITISH_ENGLISH)); box41.setHole(1, new TTScale('>')); box41.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box41.setHole(3, new TTRemoteInteger(400, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture19, TT.BRITISH_ENGLISH)); box41.setHole(4, new TTScale('>')); box41.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Up" contains a // remote control for the distance from the bottom side. The second hole // contains a tottering scale. The third hole contains the integer 0. The // hole labeled with "Up Speed" contains a remote control for the speed // towards the top. The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. TTRobot robot44 = new Robot111_3205972067(notebook); TTBox box45 = new TTBox(6); TTBox wants59 = box45; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a tottering scale. // The third hole contains the integer 0. The hole labeled with "Right Speed" // contains any number (for example, a remote control for the speed towards // the right). The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. wants59.setHole(0, TT.BLANK_NUMBER); wants59.setHole(1, new TTScale('<')); wants59.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants59.setHole(3, TT.BLANK_NUMBER); wants59.setHole(4, new TTScale('<')); wants59.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot44.setWants(wants59); TTTeam team44 = new TTTeam(box41, robot44); picture19.addTeam(team44); TTObject temp20 = new TTText("Bounce\rto stay\ron screen."); picture19.addOnBack(temp20); return picture19; } public static TTPicture PicturePart18(TTNotebook notebook, TTPicture container) { TTPicture picture48 = new TTGIFPicture("klmgjpnlbohccclhlngpfnjgabhgpcka.gif", false, 500, 500, 61, 82, 0, 0, true, true, true); TTBox box49 = new TTBox(6); box49.setHole(0, new TTRemoteInteger(489, null, TT.NO_NUMBER_OPERATION, TT.X_REMOTE, picture48, TT.BRITISH_ENGLISH)); box49.setHole(1, new TTScale('>')); box49.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box49.setHole(3, new TTRemoteInteger(-200, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture48, TT.BRITISH_ENGLISH)); box49.setHole(4, new TTScale('<')); box49.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Right" contains a // remote control for the distance from the left side. The second hole // contains a tottering scale. The third hole contains the integer 0. The // hole labeled with "Right Speed" contains a remote control for the speed // towards the right. The fifth hole contains a tottering scale. The sixth // hole contains the integer 0. TTRobot robot52 = new Robot111_3205972067(notebook); TTBox box53 = new TTBox(6); TTBox wants60 = box53; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a tottering scale. // The third hole contains the integer 0. The hole labeled with "Right Speed" // contains any number (for example, a remote control for the speed towards // the right). The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. wants60.setHole(0, TT.BLANK_NUMBER); wants60.setHole(1, new TTScale('<')); wants60.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants60.setHole(3, TT.BLANK_NUMBER); wants60.setHole(4, new TTScale('<')); wants60.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot52.setWants(wants60); TTTeam team52 = new TTTeam(box49, robot52); picture48.addTeam(team52); TTBox box56 = new TTBox(6); box56.setHole(0, new TTRemoteInteger(489, null, TT.NO_NUMBER_OPERATION, TT.X_REMOTE, picture48, TT.BRITISH_ENGLISH)); box56.setHole(1, new TTScale('<')); box56.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box56.setHole(3, new TTRemoteInteger(-200, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture48, TT.BRITISH_ENGLISH)); box56.setHole(4, new TTScale('<')); box56.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Right" contains a // remote control for the distance from the left side. The second hole // contains a tottering scale. The third hole contains the integer 1000. The // hole labeled with "Right Speed" contains a remote control for the speed // towards the right. The fifth hole contains a tottering scale. The sixth // hole contains the integer 0. TTRobot robot59 = new Robot111_3205972067(notebook); TTBox box60 = new TTBox(6); TTBox wants61 = box60; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a scale tipped to // the left. The third hole contains the integer 1000. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The fifth hole contains a scale tipped to the // left. The sixth hole contains the integer 0. wants61.setHole(0, TT.BLANK_NUMBER); wants61.setHole(1, new TTScale('>')); wants61.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants61.setHole(3, TT.BLANK_NUMBER); wants61.setHole(4, new TTScale('>')); wants61.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot59.setWants(wants61); TTTeam team59 = new TTTeam(box56, robot59); picture48.addTeam(team59); TTBox box63 = new TTBox(6); box63.setHole(0, new TTRemoteInteger(605, null, TT.NO_NUMBER_OPERATION, TT.Y_REMOTE, picture48, TT.BRITISH_ENGLISH)); box63.setHole(1, new TTScale('<')); box63.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box63.setHole(3, new TTRemoteInteger(-300, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture48, TT.BRITISH_ENGLISH)); box63.setHole(4, new TTScale('<')); box63.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Up" contains a // remote control for the distance from the bottom side. The second hole // contains a tottering scale. The third hole contains the integer 1000. The // hole labeled with "Up Speed" contains a remote control for the speed // towards the top. The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. TTRobot robot66 = new Robot111_3205972067(notebook); TTBox box67 = new TTBox(6); TTBox wants62 = box67; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a scale tipped to // the left. The third hole contains the integer 1000. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The fifth hole contains a scale tipped to the // left. The sixth hole contains the integer 0. wants62.setHole(0, TT.BLANK_NUMBER); wants62.setHole(1, new TTScale('>')); wants62.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants62.setHole(3, TT.BLANK_NUMBER); wants62.setHole(4, new TTScale('>')); wants62.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot66.setWants(wants62); TTTeam team66 = new TTTeam(box63, robot66); picture48.addTeam(team66); TTBox box70 = new TTBox(6); box70.setHole(0, new TTRemoteInteger(605, null, TT.NO_NUMBER_OPERATION, TT.Y_REMOTE, picture48, TT.BRITISH_ENGLISH)); box70.setHole(1, new TTScale('>')); box70.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box70.setHole(3, new TTRemoteInteger(-300, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture48, TT.BRITISH_ENGLISH)); box70.setHole(4, new TTScale('<')); box70.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Up" contains a // remote control for the distance from the bottom side. The second hole // contains a tottering scale. The third hole contains the integer 0. The // hole labeled with "Up Speed" contains a remote control for the speed // towards the top. The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. TTRobot robot73 = new Robot111_3205972067(notebook); TTBox box74 = new TTBox(6); TTBox wants63 = box74; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a tottering scale. // The third hole contains the integer 0. The hole labeled with "Right Speed" // contains any number (for example, a remote control for the speed towards // the right). The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. wants63.setHole(0, TT.BLANK_NUMBER); wants63.setHole(1, new TTScale('<')); wants63.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants63.setHole(3, TT.BLANK_NUMBER); wants63.setHole(4, new TTScale('<')); wants63.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot73.setWants(wants63); TTTeam team73 = new TTTeam(box70, robot73); picture48.addTeam(team73); TTObject temp21 = new TTText("Bounce\rto stay\ron screen."); picture48.addOnBack(temp21); return picture48; } public static TTPicture PicturePart19(TTNotebook notebook, TTPicture container) { TTPicture picture77 = new TTGIFPicture("klmgjpnlbohccclhlngpfnjgabhgpcka.gif", false, 500, 500, 61, 82, 0, 0, true, true, true); TTBox box78 = new TTBox(6); box78.setHole(0, new TTRemoteInteger(468, null, TT.NO_NUMBER_OPERATION, TT.X_REMOTE, picture77, TT.BRITISH_ENGLISH)); box78.setHole(1, new TTScale('>')); box78.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box78.setHole(3, new TTRemoteInteger(-300, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture77, TT.BRITISH_ENGLISH)); box78.setHole(4, new TTScale('<')); box78.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Right" contains a // remote control for the distance from the left side. The second hole // contains a tottering scale. The third hole contains the integer 0. The // hole labeled with "Right Speed" contains a remote control for the speed // towards the right. The fifth hole contains a tottering scale. The sixth // hole contains the integer 0. TTRobot robot81 = new Robot111_3205972067(notebook); TTBox box82 = new TTBox(6); TTBox wants64 = box82; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a tottering scale. // The third hole contains the integer 0. The hole labeled with "Right Speed" // contains any number (for example, a remote control for the speed towards // the right). The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. wants64.setHole(0, TT.BLANK_NUMBER); wants64.setHole(1, new TTScale('<')); wants64.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants64.setHole(3, TT.BLANK_NUMBER); wants64.setHole(4, new TTScale('<')); wants64.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot81.setWants(wants64); TTTeam team81 = new TTTeam(box78, robot81); picture77.addTeam(team81); TTBox box85 = new TTBox(6); box85.setHole(0, new TTRemoteInteger(468, null, TT.NO_NUMBER_OPERATION, TT.X_REMOTE, picture77, TT.BRITISH_ENGLISH)); box85.setHole(1, new TTScale('<')); box85.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box85.setHole(3, new TTRemoteInteger(-300, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture77, TT.BRITISH_ENGLISH)); box85.setHole(4, new TTScale('<')); box85.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Right" contains a // remote control for the distance from the left side. The second hole // contains a tottering scale. The third hole contains the integer 1000. The // hole labeled with "Right Speed" contains a remote control for the speed // towards the right. The fifth hole contains a tottering scale. The sixth // hole contains the integer 0. TTRobot robot88 = new Robot111_3205972067(notebook); TTBox box89 = new TTBox(6); TTBox wants65 = box89; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a scale tipped to // the left. The third hole contains the integer 1000. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The fifth hole contains a scale tipped to the // left. The sixth hole contains the integer 0. wants65.setHole(0, TT.BLANK_NUMBER); wants65.setHole(1, new TTScale('>')); wants65.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants65.setHole(3, TT.BLANK_NUMBER); wants65.setHole(4, new TTScale('>')); wants65.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot88.setWants(wants65); TTTeam team88 = new TTTeam(box85, robot88); picture77.addTeam(team88); TTBox box92 = new TTBox(6); box92.setHole(0, new TTRemoteInteger(241, null, TT.NO_NUMBER_OPERATION, TT.Y_REMOTE, picture77, TT.BRITISH_ENGLISH)); box92.setHole(1, new TTScale('<')); box92.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box92.setHole(3, new TTRemoteInteger(-400, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture77, TT.BRITISH_ENGLISH)); box92.setHole(4, new TTScale('<')); box92.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Up" contains a // remote control for the distance from the bottom side. The second hole // contains a tottering scale. The third hole contains the integer 1000. The // hole labeled with "Up Speed" contains a remote control for the speed // towards the top. The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. TTRobot robot95 = new Robot111_3205972067(notebook); TTBox box96 = new TTBox(6); TTBox wants66 = box96; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a scale tipped to // the left. The third hole contains the integer 1000. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The fifth hole contains a scale tipped to the // left. The sixth hole contains the integer 0. wants66.setHole(0, TT.BLANK_NUMBER); wants66.setHole(1, new TTScale('>')); wants66.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants66.setHole(3, TT.BLANK_NUMBER); wants66.setHole(4, new TTScale('>')); wants66.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot95.setWants(wants66); TTTeam team95 = new TTTeam(box92, robot95); picture77.addTeam(team95); TTBox box99 = new TTBox(6); box99.setHole(0, new TTRemoteInteger(241, null, TT.NO_NUMBER_OPERATION, TT.Y_REMOTE, picture77, TT.BRITISH_ENGLISH)); box99.setHole(1, new TTScale('>')); box99.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box99.setHole(3, new TTRemoteInteger(-400, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture77, TT.BRITISH_ENGLISH)); box99.setHole(4, new TTScale('<')); box99.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Up" contains a // remote control for the distance from the bottom side. The second hole // contains a tottering scale. The third hole contains the integer 0. The // hole labeled with "Up Speed" contains a remote control for the speed // towards the top. The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. TTRobot robot102 = new Robot111_3205972067(notebook); TTBox box103 = new TTBox(6); TTBox wants67 = box103; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a tottering scale. // The third hole contains the integer 0. The hole labeled with "Right Speed" // contains any number (for example, a remote control for the speed towards // the right). The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. wants67.setHole(0, TT.BLANK_NUMBER); wants67.setHole(1, new TTScale('<')); wants67.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants67.setHole(3, TT.BLANK_NUMBER); wants67.setHole(4, new TTScale('<')); wants67.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot102.setWants(wants67); TTTeam team102 = new TTTeam(box99, robot102); picture77.addTeam(team102); TTObject temp22 = new TTText("Bounce\rto stay\ron screen."); picture77.addOnBack(temp22); return picture77; } public static TTPicture PicturePart20(TTNotebook notebook, TTPicture container) { TTPicture picture106 = new TTGIFPicture("klmgjpnlbohccclhlngpfnjgabhgpcka.gif", false, 500, 500, 61, 82, 0, 0, true, true, true); TTBox box107 = new TTBox(6); box107.setHole(0, new TTRemoteInteger(364, null, TT.NO_NUMBER_OPERATION, TT.X_REMOTE, picture106, TT.BRITISH_ENGLISH)); box107.setHole(1, new TTScale('>')); box107.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box107.setHole(3, new TTRemoteInteger(-69, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture106, TT.BRITISH_ENGLISH)); box107.setHole(4, new TTScale('<')); box107.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Right" contains a // remote control for the distance from the left side. The second hole // contains a tottering scale. The third hole contains the integer 0. The // hole labeled with "Right Speed" contains a remote control for the speed // towards the right. The fifth hole contains a tottering scale. The sixth // hole contains the integer 0. TTRobot robot110 = new Robot111_3205972067(notebook); TTBox box111 = new TTBox(6); TTBox wants68 = box111; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a tottering scale. // The third hole contains the integer 0. The hole labeled with "Right Speed" // contains any number (for example, a remote control for the speed towards // the right). The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. wants68.setHole(0, TT.BLANK_NUMBER); wants68.setHole(1, new TTScale('<')); wants68.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants68.setHole(3, TT.BLANK_NUMBER); wants68.setHole(4, new TTScale('<')); wants68.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot110.setWants(wants68); TTTeam team110 = new TTTeam(box107, robot110); picture106.addTeam(team110); TTBox box114 = new TTBox(6); box114.setHole(0, new TTRemoteInteger(364, null, TT.NO_NUMBER_OPERATION, TT.X_REMOTE, picture106, TT.BRITISH_ENGLISH)); box114.setHole(1, new TTScale('<')); box114.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box114.setHole(3, new TTRemoteInteger(-69, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture106, TT.BRITISH_ENGLISH)); box114.setHole(4, new TTScale('<')); box114.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Right" contains a // remote control for the distance from the left side. The second hole // contains a tottering scale. The third hole contains the integer 1000. The // hole labeled with "Right Speed" contains a remote control for the speed // towards the right. The fifth hole contains a tottering scale. The sixth // hole contains the integer 0. TTRobot robot117 = new Robot111_3205972067(notebook); TTBox box118 = new TTBox(6); TTBox wants69 = box118; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a scale tipped to // the left. The third hole contains the integer 1000. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The fifth hole contains a scale tipped to the // left. The sixth hole contains the integer 0. wants69.setHole(0, TT.BLANK_NUMBER); wants69.setHole(1, new TTScale('>')); wants69.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants69.setHole(3, TT.BLANK_NUMBER); wants69.setHole(4, new TTScale('>')); wants69.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot117.setWants(wants69); TTTeam team117 = new TTTeam(box114, robot117); picture106.addTeam(team117); TTBox box121 = new TTBox(6); box121.setHole(0, new TTRemoteInteger(276, null, TT.NO_NUMBER_OPERATION, TT.Y_REMOTE, picture106, TT.BRITISH_ENGLISH)); box121.setHole(1, new TTScale('<')); box121.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box121.setHole(3, new TTRemoteInteger(42, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture106, TT.BRITISH_ENGLISH)); box121.setHole(4, new TTScale('>')); box121.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Up" contains a // remote control for the distance from the bottom side. The second hole // contains a tottering scale. The third hole contains the integer 1000. The // hole labeled with "Up Speed" contains a remote control for the speed // towards the top. The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. TTRobot robot124 = new Robot111_3205972067(notebook); TTBox box125 = new TTBox(6); TTBox wants70 = box125; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a scale tipped to // the left. The third hole contains the integer 1000. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The fifth hole contains a scale tipped to the // left. The sixth hole contains the integer 0. wants70.setHole(0, TT.BLANK_NUMBER); wants70.setHole(1, new TTScale('>')); wants70.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants70.setHole(3, TT.BLANK_NUMBER); wants70.setHole(4, new TTScale('>')); wants70.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot124.setWants(wants70); TTTeam team124 = new TTTeam(box121, robot124); picture106.addTeam(team124); TTBox box128 = new TTBox(6); box128.setHole(0, new TTRemoteInteger(276, null, TT.NO_NUMBER_OPERATION, TT.Y_REMOTE, picture106, TT.BRITISH_ENGLISH)); box128.setHole(1, new TTScale('>')); box128.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box128.setHole(3, new TTRemoteInteger(42, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture106, TT.BRITISH_ENGLISH)); box128.setHole(4, new TTScale('>')); box128.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Up" contains a // remote control for the distance from the bottom side. The second hole // contains a tottering scale. The third hole contains the integer 0. The // hole labeled with "Up Speed" contains a remote control for the speed // towards the top. The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. TTRobot robot131 = new Robot111_3205972067(notebook); TTBox box132 = new TTBox(6); TTBox wants71 = box132; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a tottering scale. // The third hole contains the integer 0. The hole labeled with "Right Speed" // contains any number (for example, a remote control for the speed towards // the right). The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. wants71.setHole(0, TT.BLANK_NUMBER); wants71.setHole(1, new TTScale('<')); wants71.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants71.setHole(3, TT.BLANK_NUMBER); wants71.setHole(4, new TTScale('<')); wants71.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot131.setWants(wants71); TTTeam team131 = new TTTeam(box128, robot131); picture106.addTeam(team131); TTObject temp23 = new TTText("Bounce\rto stay\ron screen."); picture106.addOnBack(temp23); return picture106; } public static TTPicture PicturePart21(TTNotebook notebook, TTPicture container) { TTPicture picture135 = new TTRectangle(500, 500, 104, 104, 0, 0, 0, 0, 0, true, true, true); TTBox box136 = new TTBox(3); box136.setHole(0, new TTRemoteInteger(0, null, TT.NO_NUMBER_OPERATION, TT.HIT_OR_MISS_REMOTE, picture135, TT.AMERICAN_ENGLISH)); box136.setHole(1, new TTRemoteInteger(-69, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture135, TT.BRITISH_ENGLISH)); box136.setHole(2, new TTRemoteInteger(42, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture135, TT.BRITISH_ENGLISH)); // We just made a box with 3 holes. The hole labeled with "Collide?" contains // a remote control for the detector which shows a simple cartoon of either a // collision or a miss. You can turn a collision into a miss by pointing to // the detector and pressing +. The hole labeled with "Right Speed" contains // a remote control for the speed towards the right. The hole labeled with // "Up Speed" contains a remote control for the speed towards the top. TTRobot robot137 = new Robot1908_855035964(notebook); TTBox box138 = new TTBox(3); TTBox wants72 = box138; // This robot will only accept a box with 3 holes. The hole labeled with // "Collide?" contains a movie of the hit or miss cartoon. The hole labeled // with "Right Speed" contains any number (for example, a remote control for // the speed towards the right). The hole labeled with "Up Speed" contains // any number (for example, a remote control for the speed towards the top). wants72.setHole(0, new TTNumber(1)); wants72.setHole(1, TT.BLANK_NUMBER); wants72.setHole(2, TT.BLANK_NUMBER); robot137.setWants(wants72); TTTeam team137 = new TTTeam(box136, robot137); picture135.addTeam(team137); TTObject temp24 = new TTText("Reverse\ron\rcollision"); picture135.addOnBack(temp24); return picture135; } public static TTPicture PicturePart22(TTNotebook notebook, TTPicture container) { TTPicture picture140 = new TTOval(500, 500, 104, 104, 0, 0, 248, 48, 208, false, true, true); TTBox box141 = new TTBox(5); TTNumber operations7[] = new TTNumber[1]; operations7[0] = new TTNumber(2000, TT.NO_NUMBER_OPERATION, 0, 0, 0); box141.setHole(0, new TTRemoteInteger(-69, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture140, TT.BRITISH_ENGLISH)); box141.setHole(1, new TTRemoteInteger(364, null, TT.NO_NUMBER_OPERATION, TT.X_REMOTE, picture140, TT.BRITISH_ENGLISH)); box141.setHole(2, new TTRemoteInteger(11, null, TT.NO_NUMBER_OPERATION, TT.CLOCK_REMOTE, TT.GLOBAL_REMOTE, TT.BRITISH_ENGLISH)); box141.setHole(3, new TTRemoteInteger(807, operations7, TT.NO_NUMBER_OPERATION, TT.RANDOM_REMOTE, TT.GLOBAL_REMOTE, TT.BRITISH_ENGLISH)); box141.setHole(4, new TTNumber(500, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 5 holes. The hole labeled with "Right Speed" // contains a remote control for the speed towards the right. The hole // labeled with "Right" contains a remote control for the distance from the // left side. The hole labeled with "Timer" contains a remote control for the // number of milliseconds (one thousandths of a second) since last frame. The // hole labeled with "Random" contains a remote control for a random number // between 0 and 1000 which has been combined with the integer 2000. The hole // labeled with "Goal" contains the integer 500. TTRobot robot142 = new Robot119_1501266042(notebook); TTBox box143 = new TTBox(5); TTBox wants73 = box143; // This robot will only accept a box with 5 holes. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The hole labeled with "Right" contains any // number (for example, a remote control for the distance from the left side). // The hole labeled with "Timer" contains any number (for example, a remote // control for the number of milliseconds (one thousandths of a second) since // last frame). The hole labeled with "Random" contains any number (for // example, a remote control for a random number between 0 and 1000 which has // been combined with the integer 2000). The hole labeled with "Goal" // contains any number. wants73.setHole(0, TT.BLANK_NUMBER); wants73.setHole(1, TT.BLANK_NUMBER); wants73.setHole(2, TT.BLANK_NUMBER); wants73.setHole(3, TT.BLANK_NUMBER); wants73.setHole(4, TT.BLANK_NUMBER); robot142.setWants(wants73); TTTeam team142 = new TTTeam(box141, robot142); picture140.addTeam(team142); TTBox box144 = new TTBox(5); TTNumber operations8[] = new TTNumber[1]; operations8[0] = new TTNumber(2000, TT.NO_NUMBER_OPERATION, 0, 0, 0); box144.setHole(0, new TTRemoteInteger(42, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture140, TT.BRITISH_ENGLISH)); box144.setHole(1, new TTRemoteInteger(276, null, TT.NO_NUMBER_OPERATION, TT.Y_REMOTE, picture140, TT.BRITISH_ENGLISH)); box144.setHole(2, new TTRemoteInteger(11, null, TT.NO_NUMBER_OPERATION, TT.CLOCK_REMOTE, TT.GLOBAL_REMOTE, TT.BRITISH_ENGLISH)); box144.setHole(3, new TTRemoteInteger(73, operations8, TT.NO_NUMBER_OPERATION, TT.RANDOM_REMOTE, TT.GLOBAL_REMOTE, TT.BRITISH_ENGLISH)); box144.setHole(4, new TTNumber(500, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 5 holes. The hole labeled with "Up Speed" contains // a remote control for the speed towards the top. The hole labeled with "Up" // contains a remote control for the distance from the bottom side. The hole // labeled with "Timer" contains a remote control for the number of // milliseconds (one thousandths of a second) since last frame. The hole // labeled with "Random" contains a remote control for a random number // between 0 and 1000 which has been combined with the integer 2000. The hole // labeled with "Goal" contains the integer 500. TTRobot robot145 = new Robot119_1501266042(notebook); TTBox box146 = new TTBox(5); TTBox wants74 = box146; // This robot will only accept a box with 5 holes. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The hole labeled with "Right" contains any // number (for example, a remote control for the distance from the left side). // The hole labeled with "Timer" contains any number (for example, a remote // control for the number of milliseconds (one thousandths of a second) since // last frame). The hole labeled with "Random" contains any number (for // example, a remote control for a random number between 0 and 1000 which has // been combined with the integer 2000). The hole labeled with "Goal" // contains any number. wants74.setHole(0, TT.BLANK_NUMBER); wants74.setHole(1, TT.BLANK_NUMBER); wants74.setHole(2, TT.BLANK_NUMBER); wants74.setHole(3, TT.BLANK_NUMBER); wants74.setHole(4, TT.BLANK_NUMBER); robot145.setWants(wants74); TTTeam team145 = new TTTeam(box144, robot145); picture140.addTeam(team145); TTObject temp25 = new TTText("Tend\rtowards\rstatic\rgoal"); picture140.addOnBack(temp25); return picture140; } public static TTPicture PicturePart23(TTNotebook notebook, TTPicture container) { TTPicture picture147 = new TTRectangle(500, 500, 104, 104, 0, 0, 0, 0, 0, true, true, true); TTBox box148 = new TTBox(3); box148.setHole(0, new TTRemoteInteger(42, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture147, TT.BRITISH_ENGLISH)); box148.setHole(1, new TTScale('>')); box148.setHole(2, new TTNumber(-100, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 3 holes. The hole labeled with "Up Speed" contains // a remote control for the speed towards the top. The second hole contains a // scale tipped to the left. The hole labeled with "Speed Limit" contains the // integer -100. TTRobot robot150 = new Robot116_1054347367(notebook); TTBox box151 = new TTBox(3); TTBox wants75 = box151; // This robot will only accept a box with 3 holes. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The second hole contains a scale tipped to the // right. The hole labeled with "Speed Limit" contains any number. wants75.setHole(0, TT.BLANK_NUMBER); wants75.setHole(1, new TTScale('<')); wants75.setHole(2, TT.BLANK_NUMBER); robot150.setWants(wants75); TTTeam team150 = new TTTeam(box148, robot150); picture147.addTeam(team150); TTBox box153 = new TTBox(3); box153.setHole(0, new TTRemoteInteger(-69, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture147, TT.BRITISH_ENGLISH)); box153.setHole(1, new TTScale('<')); box153.setHole(2, new TTNumber(100, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 3 holes. The hole labeled with "Right Speed" // contains a remote control for the speed towards the right. The second hole // contains a scale tipped to the right. The hole labeled with "Speed Limit" // contains the integer 100. TTRobot robot155 = new Robot116_1054347367(notebook); TTBox box156 = new TTBox(3); TTBox wants76 = box156; // This robot will only accept a box with 3 holes. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The second hole contains a scale tipped to the // left. The hole labeled with "Speed Limit" contains any number. wants76.setHole(0, TT.BLANK_NUMBER); wants76.setHole(1, new TTScale('>')); wants76.setHole(2, TT.BLANK_NUMBER); robot155.setWants(wants76); TTTeam team155 = new TTTeam(box153, robot155); picture147.addTeam(team155); TTBox box158 = new TTBox(3); box158.setHole(0, new TTRemoteInteger(-69, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture147, TT.BRITISH_ENGLISH)); box158.setHole(1, new TTScale('>')); box158.setHole(2, new TTNumber(-100, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 3 holes. The hole labeled with "Right Speed" // contains a remote control for the speed towards the right. The second hole // contains a scale tipped to the left. The hole labeled with "Speed Limit" // contains the integer -100. TTRobot robot160 = new Robot116_1054347367(notebook); TTBox box161 = new TTBox(3); TTBox wants77 = box161; // This robot will only accept a box with 3 holes. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The second hole contains a scale tipped to the // right. The hole labeled with "Speed Limit" contains any number. wants77.setHole(0, TT.BLANK_NUMBER); wants77.setHole(1, new TTScale('<')); wants77.setHole(2, TT.BLANK_NUMBER); robot160.setWants(wants77); TTTeam team160 = new TTTeam(box158, robot160); picture147.addTeam(team160); TTBox box163 = new TTBox(3); box163.setHole(0, new TTRemoteInteger(42, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture147, TT.BRITISH_ENGLISH)); box163.setHole(1, new TTScale('<')); box163.setHole(2, new TTNumber(100, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 3 holes. The hole labeled with "Up Speed" contains // a remote control for the speed towards the top. The second hole contains a // scale tipped to the right. The hole labeled with "Speed Limit" contains // the integer 100. TTRobot robot165 = new Robot116_1054347367(notebook); TTBox box166 = new TTBox(3); TTBox wants78 = box166; // This robot will only accept a box with 3 holes. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The second hole contains a scale tipped to the // left. The hole labeled with "Speed Limit" contains any number. wants78.setHole(0, TT.BLANK_NUMBER); wants78.setHole(1, new TTScale('>')); wants78.setHole(2, TT.BLANK_NUMBER); robot165.setWants(wants78); TTTeam team165 = new TTTeam(box163, robot165); picture147.addTeam(team165); TTObject temp26 = new TTText("Speed\rLimit"); picture147.addOnBack(temp26); return picture147; } public static TTPicture PicturePart24(TTNotebook notebook, TTPicture container) { TTPicture picture168 = new TTGIFPicture("klmgjpnlbohccclhlngpfnjgabhgpcka.gif", false, 500, 500, 61, 82, 0, 0, true, true, true); TTBox box169 = new TTBox(6); box169.setHole(0, new TTRemoteInteger(517, null, TT.NO_NUMBER_OPERATION, TT.X_REMOTE, picture168, TT.BRITISH_ENGLISH)); box169.setHole(1, new TTScale('>')); box169.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box169.setHole(3, new TTRemoteInteger(-300, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture168, TT.BRITISH_ENGLISH)); box169.setHole(4, new TTScale('<')); box169.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Right" contains a // remote control for the distance from the left side. The second hole // contains a tottering scale. The third hole contains the integer 0. The // hole labeled with "Right Speed" contains a remote control for the speed // towards the right. The fifth hole contains a tottering scale. The sixth // hole contains the integer 0. TTRobot robot172 = new Robot111_3205972067(notebook); TTBox box173 = new TTBox(6); TTBox wants79 = box173; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a tottering scale. // The third hole contains the integer 0. The hole labeled with "Right Speed" // contains any number (for example, a remote control for the speed towards // the right). The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. wants79.setHole(0, TT.BLANK_NUMBER); wants79.setHole(1, new TTScale('<')); wants79.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants79.setHole(3, TT.BLANK_NUMBER); wants79.setHole(4, new TTScale('<')); wants79.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot172.setWants(wants79); TTTeam team172 = new TTTeam(box169, robot172); picture168.addTeam(team172); TTBox box176 = new TTBox(6); box176.setHole(0, new TTRemoteInteger(517, null, TT.NO_NUMBER_OPERATION, TT.X_REMOTE, picture168, TT.BRITISH_ENGLISH)); box176.setHole(1, new TTScale('<')); box176.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box176.setHole(3, new TTRemoteInteger(-300, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture168, TT.BRITISH_ENGLISH)); box176.setHole(4, new TTScale('<')); box176.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Right" contains a // remote control for the distance from the left side. The second hole // contains a tottering scale. The third hole contains the integer 1000. The // hole labeled with "Right Speed" contains a remote control for the speed // towards the right. The fifth hole contains a tottering scale. The sixth // hole contains the integer 0. TTRobot robot179 = new Robot111_3205972067(notebook); TTBox box180 = new TTBox(6); TTBox wants80 = box180; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a scale tipped to // the left. The third hole contains the integer 1000. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The fifth hole contains a scale tipped to the // left. The sixth hole contains the integer 0. wants80.setHole(0, TT.BLANK_NUMBER); wants80.setHole(1, new TTScale('>')); wants80.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants80.setHole(3, TT.BLANK_NUMBER); wants80.setHole(4, new TTScale('>')); wants80.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot179.setWants(wants80); TTTeam team179 = new TTTeam(box176, robot179); picture168.addTeam(team179); TTBox box183 = new TTBox(6); box183.setHole(0, new TTRemoteInteger(582, null, TT.NO_NUMBER_OPERATION, TT.Y_REMOTE, picture168, TT.BRITISH_ENGLISH)); box183.setHole(1, new TTScale('<')); box183.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box183.setHole(3, new TTRemoteInteger(-400, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture168, TT.BRITISH_ENGLISH)); box183.setHole(4, new TTScale('<')); box183.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Up" contains a // remote control for the distance from the bottom side. The second hole // contains a tottering scale. The third hole contains the integer 1000. The // hole labeled with "Up Speed" contains a remote control for the speed // towards the top. The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. TTRobot robot186 = new Robot111_3205972067(notebook); TTBox box187 = new TTBox(6); TTBox wants81 = box187; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a scale tipped to // the left. The third hole contains the integer 1000. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The fifth hole contains a scale tipped to the // left. The sixth hole contains the integer 0. wants81.setHole(0, TT.BLANK_NUMBER); wants81.setHole(1, new TTScale('>')); wants81.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants81.setHole(3, TT.BLANK_NUMBER); wants81.setHole(4, new TTScale('>')); wants81.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot186.setWants(wants81); TTTeam team186 = new TTTeam(box183, robot186); picture168.addTeam(team186); TTBox box190 = new TTBox(6); box190.setHole(0, new TTRemoteInteger(582, null, TT.NO_NUMBER_OPERATION, TT.Y_REMOTE, picture168, TT.BRITISH_ENGLISH)); box190.setHole(1, new TTScale('>')); box190.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box190.setHole(3, new TTRemoteInteger(-400, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture168, TT.BRITISH_ENGLISH)); box190.setHole(4, new TTScale('<')); box190.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Up" contains a // remote control for the distance from the bottom side. The second hole // contains a tottering scale. The third hole contains the integer 0. The // hole labeled with "Up Speed" contains a remote control for the speed // towards the top. The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. TTRobot robot193 = new Robot111_3205972067(notebook); TTBox box194 = new TTBox(6); TTBox wants82 = box194; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a tottering scale. // The third hole contains the integer 0. The hole labeled with "Right Speed" // contains any number (for example, a remote control for the speed towards // the right). The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. wants82.setHole(0, TT.BLANK_NUMBER); wants82.setHole(1, new TTScale('<')); wants82.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants82.setHole(3, TT.BLANK_NUMBER); wants82.setHole(4, new TTScale('<')); wants82.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot193.setWants(wants82); TTTeam team193 = new TTTeam(box190, robot193); picture168.addTeam(team193); TTObject temp27 = new TTText("Bounce\rto stay\ron screen."); picture168.addOnBack(temp27); return picture168; } public static TTPicture PicturePart25(TTNotebook notebook, TTPicture container) { TTPicture picture197 = new TTGIFPicture("klmgjpnlbohccclhlngpfnjgabhgpcka.gif", false, 500, 500, 61, 82, 0, 0, true, true, true); TTBox box198 = new TTBox(6); box198.setHole(0, new TTRemoteInteger(596, null, TT.NO_NUMBER_OPERATION, TT.X_REMOTE, picture197, TT.BRITISH_ENGLISH)); box198.setHole(1, new TTScale('>')); box198.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box198.setHole(3, new TTRemoteInteger(-200, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture197, TT.BRITISH_ENGLISH)); box198.setHole(4, new TTScale('<')); box198.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Right" contains a // remote control for the distance from the left side. The second hole // contains a tottering scale. The third hole contains the integer 0. The // hole labeled with "Right Speed" contains a remote control for the speed // towards the right. The fifth hole contains a tottering scale. The sixth // hole contains the integer 0. TTRobot robot201 = new Robot111_3205972067(notebook); TTBox box202 = new TTBox(6); TTBox wants83 = box202; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a tottering scale. // The third hole contains the integer 0. The hole labeled with "Right Speed" // contains any number (for example, a remote control for the speed towards // the right). The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. wants83.setHole(0, TT.BLANK_NUMBER); wants83.setHole(1, new TTScale('<')); wants83.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants83.setHole(3, TT.BLANK_NUMBER); wants83.setHole(4, new TTScale('<')); wants83.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot201.setWants(wants83); TTTeam team201 = new TTTeam(box198, robot201); picture197.addTeam(team201); TTBox box205 = new TTBox(6); box205.setHole(0, new TTRemoteInteger(596, null, TT.NO_NUMBER_OPERATION, TT.X_REMOTE, picture197, TT.BRITISH_ENGLISH)); box205.setHole(1, new TTScale('<')); box205.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box205.setHole(3, new TTRemoteInteger(-200, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture197, TT.BRITISH_ENGLISH)); box205.setHole(4, new TTScale('<')); box205.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Right" contains a // remote control for the distance from the left side. The second hole // contains a tottering scale. The third hole contains the integer 1000. The // hole labeled with "Right Speed" contains a remote control for the speed // towards the right. The fifth hole contains a tottering scale. The sixth // hole contains the integer 0. TTRobot robot208 = new Robot111_3205972067(notebook); TTBox box209 = new TTBox(6); TTBox wants84 = box209; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a scale tipped to // the left. The third hole contains the integer 1000. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The fifth hole contains a scale tipped to the // left. The sixth hole contains the integer 0. wants84.setHole(0, TT.BLANK_NUMBER); wants84.setHole(1, new TTScale('>')); wants84.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants84.setHole(3, TT.BLANK_NUMBER); wants84.setHole(4, new TTScale('>')); wants84.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot208.setWants(wants84); TTTeam team208 = new TTTeam(box205, robot208); picture197.addTeam(team208); TTBox box212 = new TTBox(6); box212.setHole(0, new TTRemoteInteger(571, null, TT.NO_NUMBER_OPERATION, TT.Y_REMOTE, picture197, TT.BRITISH_ENGLISH)); box212.setHole(1, new TTScale('<')); box212.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box212.setHole(3, new TTRemoteInteger(-300, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture197, TT.BRITISH_ENGLISH)); box212.setHole(4, new TTScale('<')); box212.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Up" contains a // remote control for the distance from the bottom side. The second hole // contains a tottering scale. The third hole contains the integer 1000. The // hole labeled with "Up Speed" contains a remote control for the speed // towards the top. The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. TTRobot robot215 = new Robot111_3205972067(notebook); TTBox box216 = new TTBox(6); TTBox wants85 = box216; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a scale tipped to // the left. The third hole contains the integer 1000. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The fifth hole contains a scale tipped to the // left. The sixth hole contains the integer 0. wants85.setHole(0, TT.BLANK_NUMBER); wants85.setHole(1, new TTScale('>')); wants85.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants85.setHole(3, TT.BLANK_NUMBER); wants85.setHole(4, new TTScale('>')); wants85.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot215.setWants(wants85); TTTeam team215 = new TTTeam(box212, robot215); picture197.addTeam(team215); TTBox box219 = new TTBox(6); box219.setHole(0, new TTRemoteInteger(571, null, TT.NO_NUMBER_OPERATION, TT.Y_REMOTE, picture197, TT.BRITISH_ENGLISH)); box219.setHole(1, new TTScale('>')); box219.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box219.setHole(3, new TTRemoteInteger(-300, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture197, TT.BRITISH_ENGLISH)); box219.setHole(4, new TTScale('<')); box219.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Up" contains a // remote control for the distance from the bottom side. The second hole // contains a tottering scale. The third hole contains the integer 0. The // hole labeled with "Up Speed" contains a remote control for the speed // towards the top. The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. TTRobot robot222 = new Robot111_3205972067(notebook); TTBox box223 = new TTBox(6); TTBox wants86 = box223; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a tottering scale. // The third hole contains the integer 0. The hole labeled with "Right Speed" // contains any number (for example, a remote control for the speed towards // the right). The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. wants86.setHole(0, TT.BLANK_NUMBER); wants86.setHole(1, new TTScale('<')); wants86.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants86.setHole(3, TT.BLANK_NUMBER); wants86.setHole(4, new TTScale('<')); wants86.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot222.setWants(wants86); TTTeam team222 = new TTTeam(box219, robot222); picture197.addTeam(team222); TTObject temp28 = new TTText("Bounce\rto stay\ron screen."); picture197.addOnBack(temp28); return picture197; } public static TTPicture PicturePart26(TTNotebook notebook, TTPicture container) { TTPicture picture226 = new TTRectangle(500, 500, 104, 104, 0, 0, 0, 0, 0, true, true, true); TTBox box227 = new TTBox(3); box227.setHole(0, new TTRemoteInteger(0, null, TT.NO_NUMBER_OPERATION, TT.HIT_OR_MISS_REMOTE, picture226, TT.AMERICAN_ENGLISH)); box227.setHole(1, new TTRemoteInteger(-200, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture226, TT.BRITISH_ENGLISH)); box227.setHole(2, new TTRemoteInteger(-300, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture226, TT.BRITISH_ENGLISH)); // We just made a box with 3 holes. The hole labeled with "Collide?" contains // a remote control for the detector which shows a simple cartoon of either a // collision or a miss. You can turn a collision into a miss by pointing to // the detector and pressing +. The hole labeled with "Right Speed" contains // a remote control for the speed towards the right. The hole labeled with // "Up Speed" contains a remote control for the speed towards the top. TTRobot robot228 = new Robot1909_855035965(notebook); TTBox box229 = new TTBox(3); TTBox wants87 = box229; // This robot will only accept a box with 3 holes. The hole labeled with // "Collide?" contains a movie of the hit or miss cartoon. The hole labeled // with "Right Speed" contains any number (for example, a remote control for // the speed towards the right). The hole labeled with "Up Speed" contains // any number (for example, a remote control for the speed towards the top). wants87.setHole(0, new TTNumber(1)); wants87.setHole(1, TT.BLANK_NUMBER); wants87.setHole(2, TT.BLANK_NUMBER); robot228.setWants(wants87); TTTeam team228 = new TTTeam(box227, robot228); picture226.addTeam(team228); TTObject temp29 = new TTText("Reverse\ron\rcollision"); picture226.addOnBack(temp29); return picture226; } public static TTPicture PicturePart27(TTNotebook notebook, TTPicture container) { TTPicture picture231 = new TTGIFPicture("klmgjpnlbohccclhlngpfnjgabhgpcka.gif", false, 500, 500, 61, 82, 0, 0, true, true, true); TTBox box232 = new TTBox(6); box232.setHole(0, new TTRemoteInteger(683, null, TT.NO_NUMBER_OPERATION, TT.X_REMOTE, picture231, TT.BRITISH_ENGLISH)); box232.setHole(1, new TTScale('>')); box232.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box232.setHole(3, new TTRemoteInteger(28, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture231, TT.BRITISH_ENGLISH)); box232.setHole(4, new TTScale('>')); box232.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Right" contains a // remote control for the distance from the left side. The second hole // contains a tottering scale. The third hole contains the integer 0. The // hole labeled with "Right Speed" contains a remote control for the speed // towards the right. The fifth hole contains a tottering scale. The sixth // hole contains the integer 0. TTRobot robot235 = new Robot111_3205972067(notebook); TTBox box236 = new TTBox(6); TTBox wants88 = box236; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a tottering scale. // The third hole contains the integer 0. The hole labeled with "Right Speed" // contains any number (for example, a remote control for the speed towards // the right). The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. wants88.setHole(0, TT.BLANK_NUMBER); wants88.setHole(1, new TTScale('<')); wants88.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants88.setHole(3, TT.BLANK_NUMBER); wants88.setHole(4, new TTScale('<')); wants88.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot235.setWants(wants88); TTTeam team235 = new TTTeam(box232, robot235); picture231.addTeam(team235); TTBox box239 = new TTBox(6); box239.setHole(0, new TTRemoteInteger(683, null, TT.NO_NUMBER_OPERATION, TT.X_REMOTE, picture231, TT.BRITISH_ENGLISH)); box239.setHole(1, new TTScale('<')); box239.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box239.setHole(3, new TTRemoteInteger(28, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture231, TT.BRITISH_ENGLISH)); box239.setHole(4, new TTScale('>')); box239.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Right" contains a // remote control for the distance from the left side. The second hole // contains a tottering scale. The third hole contains the integer 1000. The // hole labeled with "Right Speed" contains a remote control for the speed // towards the right. The fifth hole contains a tottering scale. The sixth // hole contains the integer 0. TTRobot robot242 = new Robot111_3205972067(notebook); TTBox box243 = new TTBox(6); TTBox wants89 = box243; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a scale tipped to // the left. The third hole contains the integer 1000. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The fifth hole contains a scale tipped to the // left. The sixth hole contains the integer 0. wants89.setHole(0, TT.BLANK_NUMBER); wants89.setHole(1, new TTScale('>')); wants89.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants89.setHole(3, TT.BLANK_NUMBER); wants89.setHole(4, new TTScale('>')); wants89.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot242.setWants(wants89); TTTeam team242 = new TTTeam(box239, robot242); picture231.addTeam(team242); TTBox box246 = new TTBox(6); box246.setHole(0, new TTRemoteInteger(299, null, TT.NO_NUMBER_OPERATION, TT.Y_REMOTE, picture231, TT.BRITISH_ENGLISH)); box246.setHole(1, new TTScale('<')); box246.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box246.setHole(3, new TTRemoteInteger(-88, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture231, TT.BRITISH_ENGLISH)); box246.setHole(4, new TTScale('<')); box246.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Up" contains a // remote control for the distance from the bottom side. The second hole // contains a tottering scale. The third hole contains the integer 1000. The // hole labeled with "Up Speed" contains a remote control for the speed // towards the top. The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. TTRobot robot249 = new Robot111_3205972067(notebook); TTBox box250 = new TTBox(6); TTBox wants90 = box250; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a scale tipped to // the left. The third hole contains the integer 1000. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The fifth hole contains a scale tipped to the // left. The sixth hole contains the integer 0. wants90.setHole(0, TT.BLANK_NUMBER); wants90.setHole(1, new TTScale('>')); wants90.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants90.setHole(3, TT.BLANK_NUMBER); wants90.setHole(4, new TTScale('>')); wants90.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot249.setWants(wants90); TTTeam team249 = new TTTeam(box246, robot249); picture231.addTeam(team249); TTBox box253 = new TTBox(6); box253.setHole(0, new TTRemoteInteger(299, null, TT.NO_NUMBER_OPERATION, TT.Y_REMOTE, picture231, TT.BRITISH_ENGLISH)); box253.setHole(1, new TTScale('>')); box253.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box253.setHole(3, new TTRemoteInteger(-88, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture231, TT.BRITISH_ENGLISH)); box253.setHole(4, new TTScale('<')); box253.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Up" contains a // remote control for the distance from the bottom side. The second hole // contains a tottering scale. The third hole contains the integer 0. The // hole labeled with "Up Speed" contains a remote control for the speed // towards the top. The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. TTRobot robot256 = new Robot111_3205972067(notebook); TTBox box257 = new TTBox(6); TTBox wants91 = box257; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a tottering scale. // The third hole contains the integer 0. The hole labeled with "Right Speed" // contains any number (for example, a remote control for the speed towards // the right). The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. wants91.setHole(0, TT.BLANK_NUMBER); wants91.setHole(1, new TTScale('<')); wants91.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants91.setHole(3, TT.BLANK_NUMBER); wants91.setHole(4, new TTScale('<')); wants91.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot256.setWants(wants91); TTTeam team256 = new TTTeam(box253, robot256); picture231.addTeam(team256); TTObject temp30 = new TTText("Bounce\rto stay\ron screen."); picture231.addOnBack(temp30); return picture231; } public static TTPicture PicturePart28(TTNotebook notebook, TTPicture container) { TTPicture picture260 = new TTRectangle(500, 500, 104, 104, 0, 0, 0, 0, 0, true, true, true); TTBox box261 = new TTBox(3); box261.setHole(0, new TTRemoteInteger(0, null, TT.NO_NUMBER_OPERATION, TT.HIT_OR_MISS_REMOTE, picture260, TT.AMERICAN_ENGLISH)); box261.setHole(1, new TTRemoteInteger(28, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture260, TT.BRITISH_ENGLISH)); box261.setHole(2, new TTRemoteInteger(-88, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture260, TT.BRITISH_ENGLISH)); // We just made a box with 3 holes. The hole labeled with "Collide?" contains // a remote control for the detector which shows a simple cartoon of either a // collision or a miss. You can turn a collision into a miss by pointing to // the detector and pressing +. The hole labeled with "Right Speed" contains // a remote control for the speed towards the right. The hole labeled with // "Up Speed" contains a remote control for the speed towards the top. TTRobot robot262 = new Robot1910_855035966(notebook); TTBox box263 = new TTBox(3); TTBox wants92 = box263; // This robot will only accept a box with 3 holes. The hole labeled with // "Collide?" contains a movie of the hit or miss cartoon. The hole labeled // with "Right Speed" contains any number (for example, a remote control for // the speed towards the right). The hole labeled with "Up Speed" contains // any number (for example, a remote control for the speed towards the top). wants92.setHole(0, new TTNumber(1)); wants92.setHole(1, TT.BLANK_NUMBER); wants92.setHole(2, TT.BLANK_NUMBER); robot262.setWants(wants92); TTTeam team262 = new TTTeam(box261, robot262); picture260.addTeam(team262); TTObject temp31 = new TTText("Reverse\ron\rcollision"); picture260.addOnBack(temp31); return picture260; } public static TTPicture PicturePart29(TTNotebook notebook, TTPicture container) { TTPicture picture265 = new TTOval(500, 500, 104, 104, 0, 0, 248, 48, 208, false, true, true); TTBox box266 = new TTBox(5); TTNumber operations9[] = new TTNumber[1]; operations9[0] = new TTNumber(2000, TT.NO_NUMBER_OPERATION, 0, 0, 0); box266.setHole(0, new TTRemoteInteger(28, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture265, TT.BRITISH_ENGLISH)); box266.setHole(1, new TTRemoteInteger(683, null, TT.NO_NUMBER_OPERATION, TT.X_REMOTE, picture265, TT.BRITISH_ENGLISH)); box266.setHole(2, new TTRemoteInteger(11, null, TT.NO_NUMBER_OPERATION, TT.CLOCK_REMOTE, TT.GLOBAL_REMOTE, TT.BRITISH_ENGLISH)); box266.setHole(3, new TTRemoteInteger(930, operations9, TT.NO_NUMBER_OPERATION, TT.RANDOM_REMOTE, TT.GLOBAL_REMOTE, TT.BRITISH_ENGLISH)); box266.setHole(4, new TTNumber(500, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 5 holes. The hole labeled with "Right Speed" // contains a remote control for the speed towards the right. The hole // labeled with "Right" contains a remote control for the distance from the // left side. The hole labeled with "Timer" contains a remote control for the // number of milliseconds (one thousandths of a second) since last frame. The // hole labeled with "Random" contains a remote control for a random number // between 0 and 1000 which has been combined with the integer 2000. The hole // labeled with "Goal" contains the integer 500. TTRobot robot267 = new Robot119_1501266042(notebook); TTBox box268 = new TTBox(5); TTBox wants93 = box268; // This robot will only accept a box with 5 holes. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The hole labeled with "Right" contains any // number (for example, a remote control for the distance from the left side). // The hole labeled with "Timer" contains any number (for example, a remote // control for the number of milliseconds (one thousandths of a second) since // last frame). The hole labeled with "Random" contains any number (for // example, a remote control for a random number between 0 and 1000 which has // been combined with the integer 2000). The hole labeled with "Goal" // contains any number. wants93.setHole(0, TT.BLANK_NUMBER); wants93.setHole(1, TT.BLANK_NUMBER); wants93.setHole(2, TT.BLANK_NUMBER); wants93.setHole(3, TT.BLANK_NUMBER); wants93.setHole(4, TT.BLANK_NUMBER); robot267.setWants(wants93); TTTeam team267 = new TTTeam(box266, robot267); picture265.addTeam(team267); TTBox box269 = new TTBox(5); TTNumber operations10[] = new TTNumber[1]; operations10[0] = new TTNumber(2000, TT.NO_NUMBER_OPERATION, 0, 0, 0); box269.setHole(0, new TTRemoteInteger(-88, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture265, TT.BRITISH_ENGLISH)); box269.setHole(1, new TTRemoteInteger(299, null, TT.NO_NUMBER_OPERATION, TT.Y_REMOTE, picture265, TT.BRITISH_ENGLISH)); box269.setHole(2, new TTRemoteInteger(11, null, TT.NO_NUMBER_OPERATION, TT.CLOCK_REMOTE, TT.GLOBAL_REMOTE, TT.BRITISH_ENGLISH)); box269.setHole(3, new TTRemoteInteger(544, operations10, TT.NO_NUMBER_OPERATION, TT.RANDOM_REMOTE, TT.GLOBAL_REMOTE, TT.BRITISH_ENGLISH)); box269.setHole(4, new TTNumber(500, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 5 holes. The hole labeled with "Up Speed" contains // a remote control for the speed towards the top. The hole labeled with "Up" // contains a remote control for the distance from the bottom side. The hole // labeled with "Timer" contains a remote control for the number of // milliseconds (one thousandths of a second) since last frame. The hole // labeled with "Random" contains a remote control for a random number // between 0 and 1000 which has been combined with the integer 2000. The hole // labeled with "Goal" contains the integer 500. TTRobot robot270 = new Robot119_1501266042(notebook); TTBox box271 = new TTBox(5); TTBox wants94 = box271; // This robot will only accept a box with 5 holes. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The hole labeled with "Right" contains any // number (for example, a remote control for the distance from the left side). // The hole labeled with "Timer" contains any number (for example, a remote // control for the number of milliseconds (one thousandths of a second) since // last frame). The hole labeled with "Random" contains any number (for // example, a remote control for a random number between 0 and 1000 which has // been combined with the integer 2000). The hole labeled with "Goal" // contains any number. wants94.setHole(0, TT.BLANK_NUMBER); wants94.setHole(1, TT.BLANK_NUMBER); wants94.setHole(2, TT.BLANK_NUMBER); wants94.setHole(3, TT.BLANK_NUMBER); wants94.setHole(4, TT.BLANK_NUMBER); robot270.setWants(wants94); TTTeam team270 = new TTTeam(box269, robot270); picture265.addTeam(team270); TTObject temp32 = new TTText("Tend\rtowards\rstatic\rgoal"); picture265.addOnBack(temp32); return picture265; } public static TTPicture PicturePart30(TTNotebook notebook, TTPicture container) { TTPicture picture272 = new TTRectangle(500, 500, 104, 104, 0, 0, 0, 0, 0, true, true, true); TTBox box273 = new TTBox(3); box273.setHole(0, new TTRemoteInteger(-88, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture272, TT.BRITISH_ENGLISH)); box273.setHole(1, new TTScale('>')); box273.setHole(2, new TTNumber(-100, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 3 holes. The hole labeled with "Up Speed" contains // a remote control for the speed towards the top. The second hole contains a // scale tipped to the left. The hole labeled with "Speed Limit" contains the // integer -100. TTRobot robot275 = new Robot116_1054347367(notebook); TTBox box276 = new TTBox(3); TTBox wants95 = box276; // This robot will only accept a box with 3 holes. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The second hole contains a scale tipped to the // right. The hole labeled with "Speed Limit" contains any number. wants95.setHole(0, TT.BLANK_NUMBER); wants95.setHole(1, new TTScale('<')); wants95.setHole(2, TT.BLANK_NUMBER); robot275.setWants(wants95); TTTeam team275 = new TTTeam(box273, robot275); picture272.addTeam(team275); TTBox box278 = new TTBox(3); box278.setHole(0, new TTRemoteInteger(28, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture272, TT.BRITISH_ENGLISH)); box278.setHole(1, new TTScale('<')); box278.setHole(2, new TTNumber(100, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 3 holes. The hole labeled with "Right Speed" // contains a remote control for the speed towards the right. The second hole // contains a scale tipped to the right. The hole labeled with "Speed Limit" // contains the integer 100. TTRobot robot280 = new Robot116_1054347367(notebook); TTBox box281 = new TTBox(3); TTBox wants96 = box281; // This robot will only accept a box with 3 holes. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The second hole contains a scale tipped to the // left. The hole labeled with "Speed Limit" contains any number. wants96.setHole(0, TT.BLANK_NUMBER); wants96.setHole(1, new TTScale('>')); wants96.setHole(2, TT.BLANK_NUMBER); robot280.setWants(wants96); TTTeam team280 = new TTTeam(box278, robot280); picture272.addTeam(team280); TTBox box283 = new TTBox(3); box283.setHole(0, new TTRemoteInteger(28, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture272, TT.BRITISH_ENGLISH)); box283.setHole(1, new TTScale('>')); box283.setHole(2, new TTNumber(-100, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 3 holes. The hole labeled with "Right Speed" // contains a remote control for the speed towards the right. The second hole // contains a scale tipped to the left. The hole labeled with "Speed Limit" // contains the integer -100. TTRobot robot285 = new Robot116_1054347367(notebook); TTBox box286 = new TTBox(3); TTBox wants97 = box286; // This robot will only accept a box with 3 holes. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The second hole contains a scale tipped to the // right. The hole labeled with "Speed Limit" contains any number. wants97.setHole(0, TT.BLANK_NUMBER); wants97.setHole(1, new TTScale('<')); wants97.setHole(2, TT.BLANK_NUMBER); robot285.setWants(wants97); TTTeam team285 = new TTTeam(box283, robot285); picture272.addTeam(team285); TTBox box288 = new TTBox(3); box288.setHole(0, new TTRemoteInteger(-88, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture272, TT.BRITISH_ENGLISH)); box288.setHole(1, new TTScale('<')); box288.setHole(2, new TTNumber(100, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 3 holes. The hole labeled with "Up Speed" contains // a remote control for the speed towards the top. The second hole contains a // scale tipped to the right. The hole labeled with "Speed Limit" contains // the integer 100. TTRobot robot290 = new Robot116_1054347367(notebook); TTBox box291 = new TTBox(3); TTBox wants98 = box291; // This robot will only accept a box with 3 holes. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The second hole contains a scale tipped to the // left. The hole labeled with "Speed Limit" contains any number. wants98.setHole(0, TT.BLANK_NUMBER); wants98.setHole(1, new TTScale('>')); wants98.setHole(2, TT.BLANK_NUMBER); robot290.setWants(wants98); TTTeam team290 = new TTTeam(box288, robot290); picture272.addTeam(team290); TTObject temp33 = new TTText("Speed\rLimit"); picture272.addOnBack(temp33); return picture272; } public static TTPicture PicturePart31(TTNotebook notebook, TTPicture container) { TTPicture picture293 = new TTRectangle(500, 500, 104, 104, 0, 0, 0, 0, 0, true, true, true); TTBox box294 = new TTBox(2); box294.setHole(0, new TTRemoteInteger(299, null, TT.NO_NUMBER_OPERATION, TT.Y_REMOTE, picture293, TT.BRITISH_ENGLISH)); box294.setHole(1, new TTBird()); // We just made a box with 2 holes. The hole labeled with "Up" contains a // remote control for the distance from the bottom side. The second hole // contains a bird. TTRobot robot295 = new Robot118_1715200101(notebook); TTBox box296 = new TTBox(2); TTBox wants99 = box296; // This robot will only accept a box with 2 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a bird. wants99.setHole(0, TT.BLANK_NUMBER); wants99.setHole(1, new TTBird()); robot295.setWants(wants99); TTTeam team295 = new TTTeam(box294, robot295); picture293.addTeam(team295); TTBox box297 = new TTBox(2); box297.setHole(0, new TTRemoteInteger(683, null, TT.NO_NUMBER_OPERATION, TT.X_REMOTE, picture293, TT.BRITISH_ENGLISH)); box297.setHole(1, new TTBird()); // We just made a box with 2 holes. The hole labeled with "Right" contains a // remote control for the distance from the left side. The second hole // contains a bird. TTRobot robot298 = new Robot118_1715200101(notebook); TTBox box299 = new TTBox(2); TTBox wants100 = box299; // This robot will only accept a box with 2 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a bird. wants100.setHole(0, TT.BLANK_NUMBER); wants100.setHole(1, new TTBird()); robot298.setWants(wants100); TTTeam team298 = new TTTeam(box297, robot298); picture293.addTeam(team298); TTObject temp34 = new TTText("Broadcast\rPosition"); picture293.addOnBack(temp34); return picture293; } public static TTPicture PicturePart32(TTNotebook notebook, TTPicture container) { TTPicture picture300 = new TTGIFPicture("klmgjpnlbohccclhlngpfnjgabhgpcka.gif", false, 500, 500, 61, 82, 0, 0, true, true, true); TTBox box301 = new TTBox(6); box301.setHole(0, new TTRemoteInteger(628, null, TT.NO_NUMBER_OPERATION, TT.X_REMOTE, picture300, TT.BRITISH_ENGLISH)); box301.setHole(1, new TTScale('>')); box301.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box301.setHole(3, new TTRemoteInteger(100, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture300, TT.BRITISH_ENGLISH)); box301.setHole(4, new TTScale('>')); box301.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Right" contains a // remote control for the distance from the left side. The second hole // contains a tottering scale. The third hole contains the integer 0. The // hole labeled with "Right Speed" contains a remote control for the speed // towards the right. The fifth hole contains a tottering scale. The sixth // hole contains the integer 0. TTRobot robot304 = new Robot111_3205972067(notebook); TTBox box305 = new TTBox(6); TTBox wants101 = box305; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a tottering scale. // The third hole contains the integer 0. The hole labeled with "Right Speed" // contains any number (for example, a remote control for the speed towards // the right). The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. wants101.setHole(0, TT.BLANK_NUMBER); wants101.setHole(1, new TTScale('<')); wants101.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants101.setHole(3, TT.BLANK_NUMBER); wants101.setHole(4, new TTScale('<')); wants101.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot304.setWants(wants101); TTTeam team304 = new TTTeam(box301, robot304); picture300.addTeam(team304); TTBox box308 = new TTBox(6); box308.setHole(0, new TTRemoteInteger(628, null, TT.NO_NUMBER_OPERATION, TT.X_REMOTE, picture300, TT.BRITISH_ENGLISH)); box308.setHole(1, new TTScale('<')); box308.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box308.setHole(3, new TTRemoteInteger(100, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture300, TT.BRITISH_ENGLISH)); box308.setHole(4, new TTScale('>')); box308.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Right" contains a // remote control for the distance from the left side. The second hole // contains a tottering scale. The third hole contains the integer 1000. The // hole labeled with "Right Speed" contains a remote control for the speed // towards the right. The fifth hole contains a tottering scale. The sixth // hole contains the integer 0. TTRobot robot311 = new Robot111_3205972067(notebook); TTBox box312 = new TTBox(6); TTBox wants102 = box312; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a scale tipped to // the left. The third hole contains the integer 1000. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The fifth hole contains a scale tipped to the // left. The sixth hole contains the integer 0. wants102.setHole(0, TT.BLANK_NUMBER); wants102.setHole(1, new TTScale('>')); wants102.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants102.setHole(3, TT.BLANK_NUMBER); wants102.setHole(4, new TTScale('>')); wants102.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot311.setWants(wants102); TTTeam team311 = new TTTeam(box308, robot311); picture300.addTeam(team311); TTBox box315 = new TTBox(6); box315.setHole(0, new TTRemoteInteger(289, null, TT.NO_NUMBER_OPERATION, TT.Y_REMOTE, picture300, TT.BRITISH_ENGLISH)); box315.setHole(1, new TTScale('<')); box315.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box315.setHole(3, new TTRemoteInteger(-64, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture300, TT.BRITISH_ENGLISH)); box315.setHole(4, new TTScale('<')); box315.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Up" contains a // remote control for the distance from the bottom side. The second hole // contains a tottering scale. The third hole contains the integer 1000. The // hole labeled with "Up Speed" contains a remote control for the speed // towards the top. The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. TTRobot robot318 = new Robot111_3205972067(notebook); TTBox box319 = new TTBox(6); TTBox wants103 = box319; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a scale tipped to // the left. The third hole contains the integer 1000. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The fifth hole contains a scale tipped to the // left. The sixth hole contains the integer 0. wants103.setHole(0, TT.BLANK_NUMBER); wants103.setHole(1, new TTScale('>')); wants103.setHole(2, new TTNumber(1000, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants103.setHole(3, TT.BLANK_NUMBER); wants103.setHole(4, new TTScale('>')); wants103.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot318.setWants(wants103); TTTeam team318 = new TTTeam(box315, robot318); picture300.addTeam(team318); TTBox box322 = new TTBox(6); box322.setHole(0, new TTRemoteInteger(289, null, TT.NO_NUMBER_OPERATION, TT.Y_REMOTE, picture300, TT.BRITISH_ENGLISH)); box322.setHole(1, new TTScale('>')); box322.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); box322.setHole(3, new TTRemoteInteger(-64, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture300, TT.BRITISH_ENGLISH)); box322.setHole(4, new TTScale('<')); box322.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 6 holes. The hole labeled with "Up" contains a // remote control for the distance from the bottom side. The second hole // contains a tottering scale. The third hole contains the integer 0. The // hole labeled with "Up Speed" contains a remote control for the speed // towards the top. The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. TTRobot robot325 = new Robot111_3205972067(notebook); TTBox box326 = new TTBox(6); TTBox wants104 = box326; // This robot will only accept a box with 6 holes. The hole labeled with // "Right" contains any number (for example, a remote control for the // distance from the left side). The second hole contains a tottering scale. // The third hole contains the integer 0. The hole labeled with "Right Speed" // contains any number (for example, a remote control for the speed towards // the right). The fifth hole contains a tottering scale. The sixth hole // contains the integer 0. wants104.setHole(0, TT.BLANK_NUMBER); wants104.setHole(1, new TTScale('<')); wants104.setHole(2, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); wants104.setHole(3, TT.BLANK_NUMBER); wants104.setHole(4, new TTScale('<')); wants104.setHole(5, new TTNumber(0, TT.NO_NUMBER_OPERATION, 0, 0, 0)); robot325.setWants(wants104); TTTeam team325 = new TTTeam(box322, robot325); picture300.addTeam(team325); TTObject temp35 = new TTText("Bounce\rto stay\ron screen."); picture300.addOnBack(temp35); return picture300; } public static TTPicture PicturePart33(TTNotebook notebook, TTPicture container) { TTPicture picture329 = new TTRectangle(500, 500, 104, 104, 0, 0, 0, 0, 0, true, true, true); TTBox box330 = new TTBox(3); box330.setHole(0, new TTRemoteInteger(-64, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture329, TT.BRITISH_ENGLISH)); box330.setHole(1, new TTScale('>')); box330.setHole(2, new TTNumber(-100, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 3 holes. The hole labeled with "Up Speed" contains // a remote control for the speed towards the top. The second hole contains a // scale tipped to the left. The hole labeled with "Speed Limit" contains the // integer -100. TTRobot robot332 = new Robot116_1054347367(notebook); TTBox box333 = new TTBox(3); TTBox wants105 = box333; // This robot will only accept a box with 3 holes. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The second hole contains a scale tipped to the // right. The hole labeled with "Speed Limit" contains any number. wants105.setHole(0, TT.BLANK_NUMBER); wants105.setHole(1, new TTScale('<')); wants105.setHole(2, TT.BLANK_NUMBER); robot332.setWants(wants105); TTTeam team332 = new TTTeam(box330, robot332); picture329.addTeam(team332); TTBox box335 = new TTBox(3); box335.setHole(0, new TTRemoteInteger(100, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture329, TT.BRITISH_ENGLISH)); box335.setHole(1, new TTScale('=')); box335.setHole(2, new TTNumber(100, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 3 holes. The hole labeled with "Right Speed" // contains a remote control for the speed towards the right. The second hole // contains a balanced scale. The hole labeled with "Speed Limit" contains // the integer 100. TTRobot robot337 = new Robot116_1054347367(notebook); TTBox box338 = new TTBox(3); TTBox wants106 = box338; // This robot will only accept a box with 3 holes. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The second hole contains a scale tipped to the // left. The hole labeled with "Speed Limit" contains any number. wants106.setHole(0, TT.BLANK_NUMBER); wants106.setHole(1, new TTScale('>')); wants106.setHole(2, TT.BLANK_NUMBER); robot337.setWants(wants106); TTTeam team337 = new TTTeam(box335, robot337); picture329.addTeam(team337); TTBox box340 = new TTBox(3); box340.setHole(0, new TTRemoteInteger(100, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture329, TT.BRITISH_ENGLISH)); box340.setHole(1, new TTScale('>')); box340.setHole(2, new TTNumber(-100, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 3 holes. The hole labeled with "Right Speed" // contains a remote control for the speed towards the right. The second hole // contains a scale tipped to the left. The hole labeled with "Speed Limit" // contains the integer -100. TTRobot robot342 = new Robot116_1054347367(notebook); TTBox box343 = new TTBox(3); TTBox wants107 = box343; // This robot will only accept a box with 3 holes. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The second hole contains a scale tipped to the // right. The hole labeled with "Speed Limit" contains any number. wants107.setHole(0, TT.BLANK_NUMBER); wants107.setHole(1, new TTScale('<')); wants107.setHole(2, TT.BLANK_NUMBER); robot342.setWants(wants107); TTTeam team342 = new TTTeam(box340, robot342); picture329.addTeam(team342); TTBox box345 = new TTBox(3); box345.setHole(0, new TTRemoteInteger(-64, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture329, TT.BRITISH_ENGLISH)); box345.setHole(1, new TTScale('<')); box345.setHole(2, new TTNumber(100, TT.NO_NUMBER_OPERATION, 0, 0, 0)); // We just made a box with 3 holes. The hole labeled with "Up Speed" contains // a remote control for the speed towards the top. The second hole contains a // scale tipped to the right. The hole labeled with "Speed Limit" contains // the integer 100. TTRobot robot347 = new Robot116_1054347367(notebook); TTBox box348 = new TTBox(3); TTBox wants108 = box348; // This robot will only accept a box with 3 holes. The hole labeled with // "Right Speed" contains any number (for example, a remote control for the // speed towards the right). The second hole contains a scale tipped to the // left. The hole labeled with "Speed Limit" contains any number. wants108.setHole(0, TT.BLANK_NUMBER); wants108.setHole(1, new TTScale('>')); wants108.setHole(2, TT.BLANK_NUMBER); robot347.setWants(wants108); TTTeam team347 = new TTTeam(box345, robot347); picture329.addTeam(team347); TTObject temp36 = new TTText("Speed\rLimit"); picture329.addOnBack(temp36); return picture329; } public static TTPicture PicturePart34(TTNotebook notebook, TTPicture container) { TTPicture picture350 = new TTRectangle(500, 500, 104, 104, 0, 0, 128, 0, 0, true, true, true); TTBox box351 = new TTBox(5); TTNumber operations11[] = new TTNumber[1]; operations11[0] = new TTNumber(2000, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.setHole(0, new TTRemoteInteger(100, null, TT.NO_NUMBER_OPERATION, TT.X_SPEED_REMOTE, picture350, TT.BRITISH_ENGLISH)); box351.setHole(1, new TTRemoteInteger(628, null, TT.NO_NUMBER_OPERATION, TT.X_REMOTE, picture350, TT.BRITISH_ENGLISH)); box351.setHole(2, new TTRemoteInteger(11, null, TT.NO_NUMBER_OPERATION, TT.CLOCK_REMOTE, TT.GLOBAL_REMOTE, TT.BRITISH_ENGLISH)); box351.setHole(3, new TTRemoteInteger(923, operations11, TT.NO_NUMBER_OPERATION, TT.RANDOM_REMOTE, TT.GLOBAL_REMOTE, TT.BRITISH_ENGLISH)); box351.setHole(4, nest0); TTObject item_on_nest3; item_on_nest3 = new TTNumber(707, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(710, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(713, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(714, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(715, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(715, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(716, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(715, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(714, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(713, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(710, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(707, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(703, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(698, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(692, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(684, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(677, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(679, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(684, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(688, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(693, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(701, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(706, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(711, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(717, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(718, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(728, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(738, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(742, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(750, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(762, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(769, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(776, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(780, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(791, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(798, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(805, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(810, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(820, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(826, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(832, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(844, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(851, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(857, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(864, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(870, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(876, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(883, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(889, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(895, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(901, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(908, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(914, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(914, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(927, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(933, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(939, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(944, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(950, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(954, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(960, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(964, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(969, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(973, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(976, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(980, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(984, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(986, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(984, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(982, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(992, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(992, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(993, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(993, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(994, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(993, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(993, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(991, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(989, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(986, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(983, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(979, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(973, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(968, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(966, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(959, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(956, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(947, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(941, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(934, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(926, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(917, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(908, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(899, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(892, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(881, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(870, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(839, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(773, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(707, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(642, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(577, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(510, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(503, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(496, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(488, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(497, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(490, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(497, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(490, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(497, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(489, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(498, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(490, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(498, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(490, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(498, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(490, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(498, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(491, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(498, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(491, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(498, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); item_on_nest3 = new TTNumber(490, TT.NO_NUMBER_OPERATION, 0, 0, 0); box351.hole(4).putOnNest(item_on_nest3); // We just made a box with 5 holes. The hole labeled with "Right Speed" // contains a remote control for the speed towards the right. The hole // labeled with "Right" contains a remote control for the distance from the // left side. The hole labeled with "Timer" contains a remote control for the // number of milliseconds (one thousandths of a second) since last frame. The // hole labeled with "Random" contains a remote control for a random number // between 0 and 1000 which has been combined with the integer 2000. The hole // labeled with "Goal" contains a nest covered with the integer 707, and the // integer 710, and the integer 713, and the integer 714, and the integer 715, // and the integer 715, and the integer 716, and the integer 715, and the // integer 714, and the integer 713, and the integer 710, and the integer 707, // and the integer 703, and the integer 698, and the integer 692, and the // integer 684, and the integer 677, and the integer 679, and the integer 684, // and the integer 688, and the integer 693, and the integer 701, and the TTRobot robot352 = new Robot120_2092011631(notebook); TTBox box353 = new TTBox(5); TTBox wants109 = box353; // This robot will only accept a box with 5 holes. The hole labeled with "Up // Speed" contains any number (for example, a remote control for the speed // towards the top). The hole labeled with "Up" contains any number (for // example, a remote control for the distance from the bottom side). The hole // labeled with "Timer" contains any number (for example, a remote control // for the number of milliseconds (one thousandths of a second) since last // frame). The hole labeled with "Random" contains any number (for example, a // remote control for a random number between 0 and 1000 which has been // combined with the integer 2000). The hole labeled with "Goal" contains any // number. wants109.setHole(0, TT.BLANK_NUMBER); wants109.setHole(1, TT.BLANK_NUMBER); wants109.setHole(2, TT.BLANK_NUMBER); wants109.setHole(3, TT.BLANK_NUMBER); wants109.setHole(4, TT.BLANK_NUMBER); robot352.setWants(wants109); TTTeam team352 = new TTTeam(box351, robot352); picture350.addTeam(team352); TTBox box354 = new TTBox(5); TTNumber operations12[] = new TTNumber[1]; operations12[0] = new TTNumber(2000, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.setHole(0, new TTRemoteInteger(-64, null, TT.NO_NUMBER_OPERATION, TT.Y_SPEED_REMOTE, picture350, TT.BRITISH_ENGLISH)); box354.setHole(1, new TTRemoteInteger(289, null, TT.NO_NUMBER_OPERATION, TT.Y_REMOTE, picture350, TT.BRITISH_ENGLISH)); box354.setHole(2, new TTRemoteInteger(11, null, TT.NO_NUMBER_OPERATION, TT.CLOCK_REMOTE, TT.GLOBAL_REMOTE, TT.BRITISH_ENGLISH)); box354.setHole(3, new TTRemoteInteger(440, operations12, TT.NO_NUMBER_OPERATION, TT.RANDOM_REMOTE, TT.GLOBAL_REMOTE, TT.BRITISH_ENGLISH)); box354.setHole(4, nest1); TTObject item_on_nest4; item_on_nest4 = new TTNumber(452, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(445, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(438, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(433, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(427, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(422, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(417, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(412, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(407, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(403, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(398, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(394, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(390, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(386, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(383, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(380, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(378, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(376, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(375, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(374, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(373, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(373, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(373, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(373, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(373, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(374, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(375, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(376, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(378, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(381, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(383, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(385, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(388, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(391, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(394, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(397, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(401, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(404, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(408, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(412, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(417, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(422, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(426, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(430, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(435, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(440, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(444, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(449, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(454, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(459, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(464, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(469, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(464, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(458, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(453, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(448, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(443, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(439, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(434, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(430, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(425, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(421, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(417, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(414, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(410, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(406, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(403, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(400, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(396, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(393, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(390, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(388, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(386, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(383, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(382, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(380, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(378, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(377, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(376, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(375, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(374, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(373, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(373, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(372, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(372, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(372, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(373, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(373, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(374, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(375, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(376, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(377, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(379, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(381, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(383, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(385, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(387, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(391, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(299, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(302, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(305, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(309, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(313, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(309, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(314, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(320, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(313, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(311, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(310, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(309, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(307, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(306, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(304, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(299, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(296, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(292, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(288, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(283, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(279, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(274, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(268, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(262, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(256, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); item_on_nest4 = new TTNumber(250, TT.NO_NUMBER_OPERATION, 0, 0, 0); box354.hole(4).putOnNest(item_on_nest4); // We just made a box with 5 holes. The hole labeled with "Up Speed" contains // a remote control for the speed towards the top. The hole labeled with "Up" // contains a remote control for the distance from the bottom side. The hole // labeled with "Timer" contains a remote control for the number of // milliseconds (one thousandths of a second) since last frame. The hole // labeled with "Random" contains a remote control for a random number // between 0 and 1000 which has been combined with the integer 2000. The hole // labeled with "Goal" contains a nest covered with the integer 452, and the // integer 445, and the integer 438, and the integer 433, and the integer 427, // and the integer 422, and the integer 417, and the integer 412, and the // integer 407, and the integer 403, and the integer 398, and the integer 394, // and the integer 390, and the integer 386, and the integer 383, and the // integer 380, and the integer 378, and the integer 376, and the integer 375, // and the integer 374, and the integer 373, and the integer 373, and the // intege TTRobot robot355 = new Robot120_2092011631(notebook); TTBox box356 = new TTBox(5); TTBox wants110 = box356; // This robot will only accept a box with 5 holes. The hole labeled with "Up // Speed" contains any number (for example, a remote control for the speed // towards the top). The hole labeled with "Up" contains any number (for // example, a remote control for the distance from the bottom side). The hole // labeled with "Timer" contains any number (for example, a remote control // for the number of milliseconds (one thousandths of a second) since last // frame). The hole labeled with "Random" contains any number (for example, a // remote control for a random number between 0 and 1000 which has been // combined with the integer 2000). The hole labeled with "Goal" contains any // number. wants110.setHole(0, TT.BLANK_NUMBER); wants110.setHole(1, TT.BLANK_NUMBER); wants110.setHole(2, TT.BLANK_NUMBER); wants110.setHole(3, TT.BLANK_NUMBER); wants110.setHole(4, TT.BLANK_NUMBER); robot355.setWants(wants110); TTTeam team355 = new TTTeam(box354, robot355); picture350.addTeam(team355); TTObject temp37 = new TTText("Tend\rtowards\rmoving\rgoal"); picture350.addOnBack(temp37); return picture350; } protected static TTNest nest0; protected static TTNest nest1; private void intializeNests() { nest0 = new TTNest("Goal"); nest1 = new TTNest("Goal"); } private void intializeToonTalkImages() { } }