Map Robot Lab lesson plans
Each one is a class period with everything to run it: a teacher plan, a student worksheet, an exit ticket with answers, and the standards it meets. Students need no account, and a free class saves their work.
Map Robot Lab: Directions or a Rule, Loops and Conditionals
Level 1 of Map Robot Lab runs a starter program, east, east, south, and the delivery van drives to the Bakery in 3 blocks and 6 minutes. Level 2 asks for the Pizza Place, and students write their own directions: east, north, north takes 6 minutes, and north, north, east only 4, because the green avenue is quicker. Level 3 asks for one program that delivers to three places, and directions cannot do it. Students build a rule instead, a loop that repeats until the van has arrived, with conditionals that drive whichever way the goal is, and it reaches all three.
FreeMap Robot Lab: Stuck at the Lake, Why a Plan Looks Ahead
Level 4 of Map Robot Lab sends the delivery van across town to the Library, with a lake in the way. The starter program heads for the goal, and the van stops at the lake's edge after 2 blocks. Students press Watch the ripple and step through a route planner: it spreads out from the van like a ripple on a pond, gives each corner a bubble with the cost so far, and always makes the cheapest bubble solid next. When the Library's bubble turns solid, the shortest way is found. Students put plan a route and follow the route in their program, and the van arrives in 11 blocks. Then they compare the two algorithms: one decides one move at a time, the other looks at the whole town first.
FreeMap Robot Lab: What Does Best Mean? A Cost Function
Level 5 of Map Robot Lab asks for the Theater in 10 minutes or less. The planner with every road costing 1 finds the fewest blocks, 7, along Main Street, and takes 24 minutes in traffic. Students write a cost function, a road costs its minutes, and the same planner finds 9 blocks in 10 minutes around by the green avenue. Level 7 is 3 pm, school is letting out, and the fastest route goes past the school. Students add 10 to a school road's cost, and the van takes 14 blocks and 14 minutes with no school roads. Then they find the smallest penalty that still keeps it away, 3, and explain why.
FreeMap Robot Lab: Plans Change, Re-planning and the Order of Stops
Level 6 of Map Robot Lab hides a closed road on the way to the Hospital. A plan made at the start drives straight into it and stops at (5,5). Students put plan a route and drive one block of the route inside a loop, so the van plans again after every block, and it arrives in 12 blocks and 18 minutes after 12 plans. Level 8 has three deliveries. In the job list's order they take 31 minutes; going to the closest stop next takes 18, and the table lists all six orders, so students can check that it is the best here. With 10 stops there would be 3,628,800 orders, which is why apps use shortcuts.