Jump to content

Introductory algorithm challenges/mirwin

From Wikiversity

Scrapmetalnot Make Neville cup of coffee

  • Get cup from cupboard
  • Move to sink
  • Fill cup with water from sink
  • Move to Microwave
  • Put cup into microwave
  • ----> Program Microwave using key panel
  • Wait for Microwave to finish
  • get cup from microwave
  • move to counter
  • put cup on counter* put cup on counter
  • Pick up spoon
  • Dip spoonful instant coffee into cup
  • stir cup
  • put spoon down
  • move to fridge
  • get milk from fridge
  • move to counter
  • pour two spoons of milk into coffee
  • move to fridge
  • put milk back in fridge
  • move to counter
  • pick up spoon
  • stir coffee with milk
  • put spoon down
  • pick up coffee
  • move to Neville
  • put coffee down in his lap ... oops! 8)
Great! Hadn't thought of using the microwave! Just a note for when you start challenge 3, Scrappy doesn't understand things like "put two spoons of ... into ...", he can only do one at a time (you'll see why this important when you do challenges 3 and 4.Michaelnelson 02:19, 14 February 2007 (UTC)