I can cook quite well if I do say so myself, but cooking is quite dull, boring and comes with a ton of dishes. So I thought I'd share with you my AFK (Away From Kitchen) cooking with minimal amount of dishes.
Lately I made up a fairly tasty yet simple home-made thai-food inspired dish. You can pretty much add any vegetables you like into this mix, this is just how I make it.
package food.lazy.Omnom
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
/**
* My recipe for Thai-inspired food.
*
* @author Me
*/
public class ThaiFood {
public static List<Object> dishes = new ArrayList<>();
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
// These are the items you need to prepare the food
Cutlery spatula = new Cutlery("spatula");
dishes.add(spatula);
Cutlery cuttingboard = new Cutlery("cutting board");
dishes.add(cuttingboard);
Cutlery knife = new Cutlery("knife");
dishes.add(knife);
// These are the utensils you need to cook the food.
Pot pot = new Pot();
dishes.add(pot);
FryingPan pan = new FryingPan();
dishes.add(pan);
/*
* These are the ingredients you need.
*
* The vegetables can be anything you like. Just buy a bag of frozen
* wook vegetables at the store or make your own by buying a bunch
* of veggies and either freeze them yourself or put them in fresh.
*/
Food vegetables = new Food("vegetables");
Food noodles = new Food("egg noodles");
Food chicken = new Food("chicken");
// The spice
Food redCurry = new Food("red curry");
Food soySauce = new Food("soy sauce");
Food sNsSauce = new Food("sweet and Sour sauce");
Food salt = new Food("salt");
System.out.println("Hungry? And lazy? Here's how you make a nice thai-inspired wook, lazy-style! \n\n" +
"Here's what you do:\n");
pot.add(chicken);
pot.cook(chicken);
System.out.println("");
pan.add(vegetables);
pan.cook(vegetables);
pan.add(soySauce);
pan.add(sNsSauce);
pan.add(salt);
pan.add(redCurry);
System.out.println("");
spatula.stir(pan);
spatula.get(chicken);
System.out.println("");
pot.takeOut(chicken);
System.out.println("\n* Keep the pot with chicken water on the stove,\n" +
" but turn the plate off until right before the \n" +
" vegetables in the are done.");
System.out.println("");
knife.cut(chicken, cuttingboard);
pan.add(chicken);
System.out.println("");
spatula.stir(pan);
System.out.println("");
pot.add(noodles);
Cutlery strainer = new Cutlery("strainer");
dishes.add(strainer);
System.out.println("");
pot.takeOut(noodles);
strainer.get(noodles);
Cutlery fork = new Cutlery("fork");
dishes.add(fork);
Cutlery plate = new Cutlery("plate");
dishes.add(plate);
System.out.println("");
System.out.println("Total number of items to dish: " + dishes.size());
}
}
Yes this is a working program. I spent all night on it.
Omg! I love this! xD
ReplyDeleteI'm glad you like it :)
Delete