Showing posts with label Qin. Show all posts
Showing posts with label Qin. Show all posts

Thursday, May 28, 2009

Sunday, May 17, 2009

Saturday, April 25, 2009

boiling noodles

FOR PEOPLE:
boil the water
put noodles into the water
put them in a plate
add sauce if you want
FOR COMPUTER:
function boilWater:
with waterBoiler,
fill with cold water,
if waterBoiler=full:
stop fill
turn water Boiler switch to"on"
when water boiling
execute function put Noodles
function put Noodles:
desiredTime=10min
get noodles
with noodles:
place inside waterBoiler
start counting time
when Time=10min
turn waterBoiler switch to off
execute function fill plate
function fill Plate
get plate
place plate right to waterBoiler
with water Boiler:
move 20cm up
turn-90
if plate="full"
with waterBoiler:
turn90
move 20cm down
execute function add Sauce
finction add Sauce
desired Sauce=1
get sauce
with sauce
place inside plate
if desired Sauce>0
execute function add sauce
else:
finish