Cook Burgers Script
While the second side cooks for 60 seconds, execute this parallel action.
Script Line: "A raw bun is a tragedy."
Action:
The class diagram for the Cook Burgers script would include classes such as: Cook Burgers Script
The relationships between these classes would be:
Provide a clear, structured script for recording or staging a "Cook Burgers" video or audio segment that demonstrates making classic grilled burgers (4 servings) with safety notes and timing.
Initialize: burger_parts = bun=false, patty=false, lettuce=false, cheese=false patty_state = "raw" # raw, cooking, cooked, burnt cooking_timer = 0Function cook_patty(): if patty_state == "raw": patty_state = "cooking" start_timer(5 seconds) elif timer >= 5 and timer < 8: patty_state = "cooked" elif timer >= 8: patty_state = "burnt" While the second side cooks for 60 seconds,
Function add_topping(topping): if patty_state == "cooked" and not burger_parts[topping]: burger_parts[topping] = true
Function serve(): if all parts true and patty_state == "cooked": give_points(10) reset_burger() else: show_error("Burger incomplete or raw/burnt")
Write three concise but complete burger variants (ingredients + brief method notes), each focused on a different goal:
Each variant: list ingredient amounts per burger and a 3–5 step method.