Ricochet

The Jeroos on Ricochet island follow a certain procedure every morning when they wake up. Help them to accomplish their morning routine and get their day off to a good start.

  1. leave the room (it's dark, follow the wall on your right until you get to an opening, then hop out)
  2. keep going until you find a flower and pick it
  3. turn left and keep going until you find a net and disable it
  4. turn right and then keep going until you find the flower field and you're ready for breakfast.

Here's the code for where they start:

method main(){
 Jeroo augie = new Jeroo(2,0,EAST);
 Jeroo chip = new Jeroo(0,19,SOUTH);
 Jeroo erin = new Jeroo(21,23,WEST);
 Jeroo herb = new Jeroo(23,4,NORTH);
 
 }

 

Fill in the missing code

follow the wall on your right until you get to an opening keep going until you find a flower keep going until you find a net
while ( _________________ ) {
} 
while ( _________________ ) {
} 
while ( _________________ ) {
}