Last active
August 14, 2018 12:13
-
-
Save cjdell/669e9d4c13513971ae9b993507fca016 to your computer and use it in GitHub Desktop.
Recipes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const bowl = new Bowl(); | |
bowl.add(Water.ml(300)); | |
bowl.add(Suger.tablespoon(1)); | |
bowl.stir(); | |
bowl.add(Yeast.grams(8)); | |
time.sleep(Duration.minutes(10)); | |
bowl.add(Flour.grams(500)); | |
bowl.add(Salt.teaspoon(1)); | |
bowl.add(Oil.Olive.tablespoon(2)); | |
bowl.add(Thyme.pinch(1)); | |
bowl.mix(); | |
const workSurface = new WorkSurface(); | |
workSurface.cover(Flour); | |
bowl.sendContentsTo(workSurface); | |
for (let i = 0; i < 20; i++) { | |
workSurface.kneadDough(); | |
} | |
bowl.lubricate(Oil.Olive.tablespoon(1)); | |
workSurface.sendContentsTo(bowl); | |
bowl.applyTop(new Plate()); | |
time.sleep(Duration.minutes(60)); | |
bowl.sendContentsTo(workSurface); | |
const pizzaDoughs = workSurface.partition(4); | |
const pin = new RollingPin(); | |
const oven = new Oven(); | |
oven.temperature = Temperature.celcius(180); | |
for (const pizzaDough of pizzaDoughs) { | |
pin.flatten(pizzaDough); | |
const tray = new PizzaTray(Diameter.inches(12)); | |
pizzaDough.sendContentsTo(tray); | |
applyToppingsMixin(pizzaDough); // External Library | |
tray.moveTo(oven); | |
time.sleep(Duration.minutes(12)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment