Tuesday, January 8, 2013

Diner Dash 2: Pseudocode Level 50




procedure level_50
Table1=4, Table2=2, Table3=2, Table4=2, Table5=2, Table6=2, Table7=4, (Table[A]>=MAX) MAX=8 [A]
while customer wait
    do stand on the podium

//customer1
if Table1
    else if Table7
        then family sit here
    else kindly_senior==4
    else business_woman==4
if Table3
    else if Table5
    else if Table6
        then young_lady sit here
        else bookworm==2
if Table2
    then cellphone_addict sit here
if Table4
    then jogger sit here
if Table1==family&&Table7==kindly_senior
    then (Table[A]>=MAX) MAX=8 [A]==kindly_senior

//baby
if baby
    then give highchair

//dessert
if customer ask for dessert
    then give dessert

//snack
if customer ask for snack
    then give snack

//serving
take_order (menu, ticket_station: String)
    while menu
        do take it and drop to ticket station
serve_food (food_number, table_number: String)
    if table_number==food_number
        then serve food
give_check (finish, check: string)
    if customer finish eating
        then give check and pay tip
clear_dish (check, clear: string)
    if after pay
        then clear the dish

       
//customer2
if Table1
    else if Table7
        then family sit here
        else family==4
if Table2
    then cellphone_addict sit here
if Table3
    else if Table5
    else if Table6
        then bookworm sit here
        else kindly_senior==2
        else kindly_senior==2
if (Table[A]>=MAX) MAX=8 [A]
    then bookworm==3
    else business_woman==4

//baby
if baby
    then give highchair
   
//dessert
if customer ask for dessert
    then give dessert

//snack
if customer ask for snack
    then give snack

//serving
take_order (menu, ticket_station: String)
    while menu
        do take it and drop to ticket station
serve_food (food_number, table_number: String)
    if table_number==food_number
        then serve food
give_check (finish, check: string)
    if customer finish eating
        then give check and pay tip
clear_dish (check, clear: string)
    if after pay
        then clear the dish
       
       
//phone
if need help
    then call for podium_attending

//customer3
if Table1
    then family sit here
if Table2
    then cellphone_addict sit here
if Table3
    then kindly_senior sit here
if Table4
    then jogger sit here
if Table7
    then business_woman sit here
if (Table[A]>=MAX) MAX=8 [A]
    then business_woman sit here
    else bookworm==3

//baby
if baby
    then give highchair
   
//dessert
if customer ask for dessert
    then give dessert
   
//snack
if customer ask for snack
    then give snack

//serving
take_order (menu, ticket_station: String)
    while menu
        do take it and drop to ticket station
serve_food (food_number, table_number: String)
    if table_number==food_number
        then serve food
give_check (finish, check: string)
    if customer finish eating
        then give check and pay tip
clear_dish (check, clear: string)
    if after pay
        then clear the dish

       
//customer4
if Table1
    then family sit here
if Table2
    then cellphone_addict sit here
if Table4
    then jogger sit here
if Table5
    else if Table6
        then young lady sit here
        else business_woman==2
if Table7
    then kindly_senior sit here
    else young_lady==4
if (Table[A]>=MAX) MAX=8 [A]
    then kindly_senior sit here
    else young_lady or kindly_senior==4

//dessert
if customer ask for dessert
    then give dessert

//snack
if customer ask for snack
    then give snack

//serving
take_order (menu, ticket_station: String)
    while menu
        do take it and drop to ticket station
serve_food (food_number, table_number: String)
    if table_number==food_number
        then serve food
give_check (finish, check: string)
    if customer finish eating
        then give check and pay tip
clear_dish (check, clear: string)
    if after pay
        then clear the dish

Diner Dash 2: Classes and Methods


procedure customer
young_lady
type_avg=moderately dislike noise
tip_avg=average tipper
patient_avg=moderately patient
speed_avg=moderately speed

family
type_noisy=noisy when unhappy
tip_avg=average tipper
patient_avg=moderately patient
speed_avg=moderately speed

cellphone_addict
type_noisy=very noisy
tip_high=high tipper
patient_low=not patient
speed_high=fast order

jogger
type_noisy=does not mind noise
tip_avg=average tipper
patient_avg=moderately patient
speed_avg=moderately speed

bookworm
type_quite=strongly dislike noise
tip_avg=average tipper
patient_high=very patient
type_low=very slow to order and eat

kindly_senior
type_avg=moderately dislike noise
tip_low=low tipper
patient_high=very patient
type_low=very slow to order and eat

business_woman
type_avg=moderately dislike noise
tip_high=high tipper
patient_low=not patient
              type_high=very fast order and eat




procedure serving
seat (color, sum, type_quite: string)
if color=color_cust
         then seat here
else if sum=sum_cust
         then seat here
else if type_quite
         then do not seat beside the noisy
else seat here

take_order (menu, ticket_station: string)
while menu
do take it and drop to ticket station

serve_food (food_ready, table_number: string)
while food_ready
         do give based on table_number

give_check (finish, check: string)
if customer finish eating
         then give check and pay tip

clear_dish (check, clear: string)
if after pay
         then clear the dish




procedure happy
drink
while serving
         do give drinks

highchair
if baby
         then give highchair

mop
if family spills
         then clean with mop

podium
while customer wait
         do stand on the podium

dessert
if customer ask for dessert
         then give dessert

snack
if customer ask for snack
         then give snack

bench
while customer wait
         do seat them on bench

phone
if need help
         then call for staff’s help

Diner Dash 2: Tips And Tricks


  • Step up to the podium! Use the podium in between chains to make sure you don't lose any customers tired of waiting for a table.
  • It's all about timing! In later levels of the game, let customers line up so that you can seat them more strategically. Seat customers that are going to take the longest first and the impatient customers last -- that way everyone will be ready to order at the same time.
  • Don't forget everyone's favorite part of the meal. Make sure you keep your customers happy so that they all order dessert when it's available to sweeten your score!
  • Everyone enjoys a drink on the house! If you see a drink station in your restaurant, bring drinks to the tables and feel the love.
  • Test your multi-tasking skills and earn a bonus along the way. Chain your activities and try taking a bunch of orders in a row Instead of completing one task at a time.
  • Cell-phone Addicts may be annoying to most patrons but tolerated by others. Families don't mind noise so it's safe to seat them near those chatty cell phone guys.
  • Remember those color matching games from kindergarten? Now's the time to bust out those skills to earn yourself some extra bonus points. Seat customers in chairs that match the color of their outfits and watch your score soar!
  • A crying baby needs your attention pronto! Mommy's lap is fine for play but a high chair is the right chair for toddler dining.
  • Nothing ruins a lovely meal faster than the customer with his cell phone glued to his ear! Try to seat these loud-mouth grabbers away from other diners.

Monday, January 7, 2013

Diner Dash 2: Review


Diner Dash 2: Restaurant Rescue is the second installment to the popular game series Diner Dash preceded by Diner Dash and followed by Diner Dash: Flo on the Go and Diner Dash: Hometown Hero. It is published by PlayFirst, like all other Diner Dash series.

STORY
Flo, a successful waitress, has just seen on the news that Mr. Big, a greedy landlord, wants to destroy four restaurants that belong to Darla, Tony, Margarita and Toshiro,respectively - so that he can open his own mega-restaurant. Flo runs to help each of her friends,and arrives just in time to stop Mr. Big and earn a chance to make enough money to pay him back, all in the hopes of escaping the wrecking ball and a disastrous Mega Multiplex Food Plaza, forever.

CUSTOMER

  • Families - Composed of a Dad, Mom, Son and Baby son, the family requires the most special attention. They are well-rounded in stats
  • Cellphone Addicts - Cellphone Addicts can not stop talking, they will constantly cause noise disturbance and are impatient, but tip high.
  • Bookworms - Bookworms are slow and sensitives creatures, they hate noise than most customers and lose a full heart as a result.
  • Joggers - Joggers are well-rounded exercisers that wear headphones, making them immune to noise, they do not order dessert, but they do order snacks. 
  • Young Ladies - Young Ladies are perfectly balanced.
  • Business Women - Business Women can't wait, really.
  • Kindly Seniors - Seniors are slow, patient and tip lowly.
LEVEL
  • Darla's
  • Tony's Pizzeria
  • Margarita's Cantina
  • Toshiro's Grill
  •  Flo's Lounge
PURPOSE
Helping friends to run their restaurant so they can pay the rent to Mr. Big. In the end of story, Mr. Big announces he will change his dirty ways in running the restaurant.