a. What will a jumper do if the location in front of it is empty, but the location two cells in front contains a flower or a rock?
In this case, we design the jumper to turn right of 45 degrees.
b. What will a jumper do if the location two cells in front of the jumper is out of the grid?
In this case, we design the jumper to turn right of 45 degrees
c. What will a jumper do if it is facing an edge of the grid?
In this case, we design the jumper to turn right of 45 degrees
d. What will a jumper do if another actor (not a flower or a rock) is in the cell that is two cells in front of the jumper?
In this case, we design the jumper to turn right of 45 degrees
e. What will a jumper do if it encounters another jumper in its path?
If the two jumpers jump for the same location, the first jumper will take the location and the other one turn right of 45 degrees.
If the two jumpers just jump by, which means they don’t jump to the same location, they can both jump to their own locations.
f. Are there any other tests the jumper needs to make?
Yes,there are.
What if the location in front of the Jumper is occupied? Can a Jumper jump over only rocks and flowers?
The jumper can jump over only rocks and flowers.