Jeroos can do many things!
The assignment is to pick all the flowers for the map below.
You can use 2 loops for this, but you get extra credit for doing it in a single loop.
Scroll down to see a step by step visual of how 1 student did this in a single loop.
Assignment: Do any 5 of the required assignments. To get an A you must do “Spiral Inwards” assignment (see second from bottom)
You can also, skip everything and try the bottom map which is extra credit (and very, very hard). If you do that, you do not need to solve any other maps. Note: this is a very, very hard map, and I don’t recommend most people trying to do the extra credit until they’ve done the required ones.
Picture at start:
Picture at end:
Brett’s Maze 2
George’s Map : Start at ( 10,0) , facing SOUTH, Use 1 loop and pick the flower.
To get an A you must do the following assignment.
Start you jeroo in the bottom picture and have it climb to the flower. Use 1 and only 1 while loop.
Objective: A Jeroo starts at the southwest corner of the island, location (23,0), facing East with no flowers. There is a flower somewhere east of the Jeroo. There are zero or more hurdles, represented by nets, between the Jeroo and the flower. Each hurdle is a rectangular arrangement of nets with its base along the Southern Sea. The height and width of each hurdle is unknown. The number of hurdles and the spacing between the hurdles is unknown. There is at least one row of empty cells along the top and sides of each hurdle. There are no water features and no other Jeroos on the island. The only nets are those that define the hurdles. The goal of this program is to have the Jeroo jump all of the nets, pick the flower, and stop. A representative island is shown in figure 1.
Solution : Not graded
two-hurdles.jev Not graded
Extreme Hurdles.jev 8/10
Description:Write an infinite loop that makes your Jeroo travel around the perimeter of the island. 9/10
jacob_icejet_map2 Extra credit
One Saturday morning, two friends, Bugs and Daffy, decide to meet and plant flowers to beautify Santong island. Daffy starts in the Northwest corner facing East with 90 flowers in his pouch. Bugs starts in the Northeast corner facing West with 90 flowers in his pouch. Bugs and Daffy begin hopping toward one another. As they hop, each plants exactly one flower at every location it enters, including its starting location. They meet, facing each other, roughly in the middle of row 0. After a handshake and a little small talk, Bugs and Daffy both turn toward the south and continue planting flowers all the way to the southern edge of the island. When both reach the South Sea, the say goodbye and part. Daffy turns west and plants flowers all the way to the Western Ocean. Bugs turns east and plants flowers all the way to the Eastern Ocean. This is where our story ends. Your task is to write a Jeroo program that will illustrate this story.
One possible solution to this project is represented in the picture below
Original Project Descriptions is here
Acknowledgement This problem is adapted from one that was created originally by Erica Eddy of The University of Wisconsin – Parkside.
Your jeroo is exploring the outer perimeter of the lake. It starts next to a flower and travels the entire way around the lake. Have your jeroo stop immediately before the flower (using a loop) and then, after the loop is over, your jeroo should pick the flower.
Download the maps
|Map #1 : rectangular-lake.jev|
|Remember Nets kill Jeroosrectangular-lake-bumps2.jev|
|Write a loop that makes the jeroo travel around the lake below. This loop should never end. walk-the-lake-jacks-map.jev|