Selasa, 08 Januari 2013

Pseudocode penyelesaian game Cooking Academy 2 : World Cuisine (part 1)



Chinese Restaurant
Crab rangoon
·         Class Dice the garlic : bawang putih& pisau
Method 1 =DTG();   :  klik mouse
Method 2 = motong : for(int i=0;i<9;i++){klik mouse;}     Motong.klik mouse();
·         Class dice the green onion : daun bawang & pisau
Method 1 = DGO(); : while(progres != penuh){for(int i=0;i<12;i++){klik mouse;}}
·         Class add the ingredients : 5 bahan makanan (soy suce, worcestershire, green onion, garlic, cream cheese)
Method 1=ati(); :  if(input komputer == soy sauce){klik soy sauce;}
Else if (input komputer == worcestershire){klik worcestershire;}
Else if (input komputer == green onion){klik green onion;}
Else if (input komputer == garlic){klik garlic;}
Else if (input komputer == cream cheese){klik cream cheese;}
·         Class Fold Crab Rangoon : kulit & isi
Method 1 = kulit : klik mouse ke kulit;
Method 2 = isi : klik mouse ke isi;   Isi.kulit();
Method 3 = membungkus : drag mouse ke atas;   Membungkus.isi();
Method 4  = lipatan : for (int i =0;i<4; i++){klik mouse;} lipatan.membungkus();
·         Class Fry the Crab Rangoon : crab rangoon ,wajan , minyak panas
Method 1=FRY();   : drag the crab rangoon ke wajan;
Method 2 : while(tcr<habis).........for(int tcr=0;tcr<8;tcr++){
                Masukkan ke wajan;
for(int det1=0;det1<=5;det1++){drag the crab rangoon ke arah kanan};
for (int det2=0;det2<5;det2++){drag thecrab rangoon ke arah kiri};
for (det3=0;det3<5;det3++){drag the crab rangoon ke loyang};}

BBQ pork buns
·         Class Slice the BBQ Pork : Daging & pisau
Method 1 : SLC(); = while(progres != penuh){drag mouse keatas dan ke bawah;}
·         Class Dice the BBQ Pork : irisan daging & pisau
Method 1 : daging dadu = for(int dadu=0;dadu<4;dadu++){drag mouse kekanan dan kekiri;}
·         Class  Add the Iingredients = 6 bahan makanan (soy sauce, cornstarch, sesame oil, water, oyster sauce, sugar)
Method 1: bbqpork.ati();
·         Class Fold the BBQ Pork : kulit, isi, kuas, tangan
Method 1 : kulit = klik mouse ke kulit;
Method 2 : isi = klik mouse ke isi; Isi.kulit();
Method 3 : membungkus = for(int bungkus=0;bungkus<5;bungkus++){
Drag mouse ke arah kanan;                         Drag mouse ke arah kiri;
Drag mouse ke arah kiri bawah;                 Drag mouse ke arah kanan bawah;
Drag mouse ke arah kiri atas;                      Drag mouse ke arah kanan atas;}
Method 4 : menekan bungkus = membungkus & tangan (klik mouse;)
Method 5 : melapisi dengan telur = while(adonan==terlapisi semua){
Drag mouse ke arah kiri dan kanan ;}

·         Class Bake BBQ Pork Buns = oven, pengatur suhu oven, BBQ Buns,bar
Method 1 = bake(); : if (pengatur suhu oven==350 && tekan on){bar bergerak;        if(bar==hijau){tekan off;}      
else {game finish}

Kung pao chicken
·         Class Dice the green onion
Method 1 : kung pao.DGO();
·         Class Dice the garlic
Method 1 : kungpao.DTG();
·         Class Add the ingredients = 8 bahan makanan (chili peppers, sesame oil, water chestnuts, soy sauce, green onion, peanuts, vinegar, cornstarch)
Method 1: kungpao.ati();            
·         Class Double coat = potongan ayam,telur,tepung loyang
Method 1=DCt(); : for(int i=0;i<7;i++)........while(potongan ayam!=0) {masukkan potongan ayam ke mangkuk berisi telur;}
Method 2 : drag mouse memutar 1800;
Method 3 : drag mouse ke kiri dan kanan....for(int i=0;i<3;i++){if (i%2==0){drag mouse ke kanan;} 
else {drag mouse ke kiri;}}
Method 4 :  masukkan ayam yang telah dilapisi ke loyang;
·         Class Fry the chicken=ayam,wajan , minyak panas
Method 1=kungpao.FRYr();:
·         Class Grate the Ginger = mangkuk,gingseng,parutan
Method 1= GTG(); : for(int bwah;bwah<5;bwah++){for(int arah=0;arah<5;arah ++){gerakan bolak-balik;}               if(arah==5){drag mouse be bawah;}}
·         Class Cook Kung pao Chicken =wajan,cooked chicken,bar,tutup,panel berjalan,indikator panas, indikator bawah
Method 1 = cook();: if (small heat sampai di indikator bawah){geser bar sampai level kuning (1);}
                       Else if (medium heat sampai di indikator bawah){geser bar sampai level oranye(2);}
                    Else if (high heat sampai di indikator bawah){geser bar sampai level merah(3);}
                   Else if (no heat sampai di indikator bawah){geser bar sampai level (0);}
                   Else if (shake sampai di indikator bawah){drag wajan ka atas;}
    Else if (cooked chicken sampai di indikator bawah){klik cooked chicken yang telah dimasak sebelumnya;}
    Else if (cover sampai di indikator bawah){klik tutup wajan;} // untuk menutup wajan
    Else if (uncover sampai di indikator bawah){klik tutup wajan;} // untuk membuka tutup wajan

Egg tarts
·         Class add the ingredients = 3 bahan makanan (water, salt , oil)
Method 1 : eggtarts.ati();
·         Class knead the dough = arah, tangan, adonan
Method 1=KTD(); :  for (int banting adonan=0; banting adonan<3;banting adonan ++){
If (arah==6){banting adonan || klik ke bayangan;}
Else If(arah==kanan){drag adonan ke kanan;}
Else if (arah==kiri){drag adonan ke kiri;}
Else if (arah==atas){drag adonan ke atas;}}
·         Class Roll the dough = batas akhir, adonan, penggiling
Method 1= roll(); :  while (adonan!= batas akhir){gulung adnonan ke atas dan ke bawah;}
·         Class Cut out dough shapes = adonan, cetakan adonan
Method 1 = cut(); : int i = input komputer;  while (cetakan < i){
      If (cetakan == penuh){i = i-1;}
      Else{ i = i+0 ;}}
·         Class Fold egg tarts = cup, adonan
Method 1 : klik cup;
Method 2 : klik untuk memasukkan adonan;
Method 3 : klik untuk menekan adonan;
Method 4 : for (int i=0;i<9;i++){klik bagian pinggir adonan;}
·         Class Crack an egg = telur, mangkuk
Method 1 = CRK(); : for (int =telur pecah;telur pecah < 5;telur pecah++){while (telur == pecah){masukkan telur ke dalam mangkuk;}}
·         Class Pour the egg tart = mangkuk, batashijau, wadah,vol eggtarts yang dimasukkan
Method 1 = pour();  : while (progres!= penuh ){drag mangkuk ke atas;  if (vol  > batas hijau && vol < wadah){ true;}}
·         Class Bake egg tarts
Method 1 : eggtarts.bake();

Sweet and sour chicken
·         Class raid the Fride = 6 bahan makanan
Method 1= RTF();  : for(int i=0;i<6;i++){if (input komputer  muncul){klik gambar bahan input komputer;}}
·         Class dice the onion = onion, pisau
Method 1 = DTO(); : while (arah muncul){drag mengikuti arahnya;}
Method 2 : while (bawang != terpotong habis){klik mouse;}
·         Class slice the green bell pepper = paprika, pisau
Method 1= SGP(); : while (arah muncul){drag mengikuti arahnya;}
·         Class peel the carrot =  wortel, pengupas
Method 1= PTC(); : while (wortel !=  terparuthabis ){drag mouse ke arah wortel;}
·         Class dice the carrot = DCT();
Method 1 : while (pangkal ==terpotong && ujung==terpotong){drag mouse keatas || drag mouse kebawah;}
Method 2 : for(int i=0;i<10;i++){klik mouse mengikuti pisau;}
·         Class double coat = potongan ayam,telur,tepung loyang
Method 1 : eggtarts.DCt();
·         Class juice the lemon = lemon, pemeras, pisau
Method 1 = JTL()” : bagi lemon menjadi 2;
Method 2 : drag lemon ke pemeras;
Method 3 : for (int i=0;i<3;i++){drag lemon berputar;}
·         Class cook sweet and sour sauce =
Method 1 : sweetsoursauce.cook();
·         Class fry the chicken
Method 1 : sweet.FRY();
·         Class cook sweet and sour chicken
Method 1 : ssourchicken.cook();
Fortune cookies
·         Class mix the batter = indikator kecepatan, bar, bahan makanan,indikator bawah
Method 1 = mix();: if (slow sampai di indikator bawah){geser bar sampai level kuning (1);}
Else if (medium sampai di indikator bawah){geser bar sampai level oranye(2);}
Else if (high  sampai di indikator bawah){geser bar sampai level merah(3);}
Else if (no sampai di indikator bawah){geser bar sampai level (0);}
Else if (bahan makanan sampai di indikator bawah){klik bahan makanan yang sesuai;}
Else if (cover sampai di indikator bawah){klik tutup; } // untuk menutup
Else if (uncover sampai di indikator bawah){klik tutup; } // untuk membuka tutup
·         Class pour the batter = loyang,  mangkuk
Method 1 : fortune.pour();
·         Class bake fortune cookies
Method 1 : fortune.bake();
·         Class fold fortune cookies = gelas, fortunecookies, kertas
Method  1 : for(int i=0;i<6;i++){while (fortune cookies != melengkung){ drag mouse mengikuti panah  //masukan kertas ; drag mouse ke atas //menutupkretas; lengkungkan ke gelas ;}}

Lecturer warp
·         Class raid the fridge = 7 bahan makanan;
Method 1 : lecturerwarp.RTF();
·         Class dice the garlic
Method 1 : lecturerwarp.DTG();
·         Class grate the ginger
Method 1 : lecturerwarp.GTG
·         Class crack an egg
Method 1 : lecturerwarp.crack();
·         Class dice the peanut = pisau, kacang, progres
Method 1 :while(progres  != penuh){ for (int i=0; i<18; i++){klik mouse}}
·         Class dice the green onion
Method 1 : lecturerwarp.DGO();
·         Class dice the shitake mushroom = jamur shitake, pisau, progres
Method 1 = DSM(); : while (progres != penuh){for(int =0;i<8;i++){klik pisau;}}
·         Class juice the lime
Method 1 : lecturerwarp.JTL();
·         Class add the ingredients
Method 1 : lecturerwarp.ati();
·         Class fry the lecturerwarp
Method 1 = FrY();   : for (int i=0;i<3;i++){klik mangkuk; drag teflon ke atas; if (bayangan == kiri){geser teflon ke  arah kiri;}
Else {geser ke arah kanan;}}
·         Class tear the lecturerwarp
Method 1 = tear();  : for(int i=0;i<16;i++){if(i%2==0){geser kubis ke kanan;}
 else {geser kubis kekiri;}}
·         Class fold lecturerwarp
Method 1 : while (progres != penuh){klik mangkuk; geser kubis ke atas; geser kubis ke kanan; geser kubis ke kiri; geser kubis ke bawah;}

Tidak ada komentar:

Posting Komentar