Scavenger Hunt

The instructions for Scavenger Hunt are given in the above document but repeated below for convenience.

Two Jeroos start at opposite ends of Long Island, one at (3,5) facing EAST, and one at (5,18) facing WEST.   Each Jeroo is supposed to pick two flowers.  The first one can be from anywhere along the edge of the island, and the second must be the one in the center.   The first one to pick the center flower is declared the winner.  There are a few rules to this scavenger hunt.  

  • The Jeroos can only turn LEFT

  • The Jeroos must take turns, each doing only thing in each turn:  hop(), turn(LEFT), or pick().

  • A Jeroo can only hop forward one space in its turn.

Island File   ScavengerHunt.jev

1 point
I have finished this assignment and have demonstrated my solution to my instructor.