Sunday, May 24, 2009

01A - Deborah Kaiser - making rice

Sorry it is so overdo, i was not getting the e mails...

function cook rice:

function fillCup:
get cup
get rice bag
place cup right to rice bag
with rice bag:
move 20cm up
turn -90°
if cup = „full“
with rice bag:
turn 90°
move 20cm down

with cup:
get pan
turn 90°
let all content fall into pan


function fillCup:
get cup
get water jar
place cup right to water jar
with water jar:
move 20cm up
turn -90°
if cup = „full“
with water jar:
turn 90°
move 20cm down

with cup:
get pan
turn 90°
let all content fall into pan



execute function makeRice

function makeRice:
desiredSalt = 2
desiredTime = 10 min

get pan
with pan:
place on burner
turn burner on

start counting time
if time = 10min:
turn burner off

finish

No comments:

Post a Comment