[340] Re: Skiing / tramping trip

  • From: Luka Mili?a <lmil005@xxxxxxxxxxxxxxxxx>
  • To: 340@xxxxxxxxxxxxx
  • Date: Thu, 1 Jul 2004 22:55:22 +1200

everything happens at the same speed actually, unless you're moving close to 
the speed of light in which case time will dilate.
in any case, skiing / tramping - summarised so Thilak can understand :)

2 options:
1.) 
public Happiness DayTrip (PeopleCollection people){
  CarCollection cars = GetCarsForTrip(people)
  while( DateTime.Now() < DateTime.StartingDateAt5am )  // sat or sun
    Thread.CurrentThread.Sleep(10000)
  Happiness h = DoTramp( cars, people )
  cars.Drive( Auckland )
  cars.Disembark(people)   // bout 10/11pm
  return h
} 

public CarCollection GetCarsForTrip(PeopleCollection people){
  CarCollection cars = new CarCollection();
  cars.add(people.WillingPeople.GetBiggestCar())
  if (people.size > 5)
    cars.add(people.WillingPerson.GetBiggestCar())
  return cars
}

public Happiness DoTramp(CarCollection cars, PeopleCollection people){
  Happiness starting = people.GetHappinessLevel
  people.MeetUp()
  cars.Board(people)
  cars.Drive( Tongariro National Park )
  cars.Disembark(people)
  for each person in people{
    if (!person.HasTrampingEquipment)
      person.RentTrampingEquipment
  }
  people.Tramp( Tongariro Crossing / Ngauruhoe )
  cars.Board(people)
  return people.GetHappinessLevel - starting
}

2.)
public Happiness WeekendGetaway(){
  CarCollection cars = GetCarsForTrip(people)
  while( DateTime.Now() < DateTime.StartingDateAt7pm ) // friday
    Thread.CurrentThread.Sleep(10000)
  people.MeetUp()
  cars.Board(people)
  cars.Drive( National Park Village )
  cars.Disembark(people)
  people.Sleep()
  Happiness h
  if ( Weather.CurentWeather.IsClear )
    h = DoTramp( cars, people )
  else
    h = DoSkiing( cars, people )

  cars.Drive( National Park Village )
  cars.Disembark(people)
  people.Sleep()
  Happiness h1
  if (Tramping.HasBeenDone)
    h1 = DoSkiing( cars, people )
  else
    h1 = DoTramping( cars, people )

  cars.Drive( Auckland )
  cars.Disembark(people)   // bout 10/11pm
  
  return h+h1
}



Quoting Thilak Nathen <thilak@xxxxxxxxxxxx>:

~=~ I'm losing track of all the things you guys r planning...
~=~ 
~=~ Someone summarise these plz...
~=~ 
~=~ 
~=~ 
~=~ -----Original Message-----
~=~ From: 340-bounce@xxxxxxxxxxxxx [mailto:340-bounce@xxxxxxxxxxxxx] On
~=~ Behalf Of Davi Jea
~=~ Sent: Thursday, 1 July 2004 1:17 a.m.
~=~ To: 340@xxxxxxxxxxxxx
~=~ Subject: [340] Re: Skiing / tramping trip
~=~ 
~=~ we'll need to drive there Meg unless u wanna hire a bus, but i don't
~=~ think
~=~ there's enough of us to justify that :)
~=~ i dunno what time "friday night" is either. Luka, care to clarify?
~=~ don't worry, we don't need a map, just follow the signs. that's my plan
~=~ ;)
~=~ the 9/7 one? that's like next week. man, everything's fast..
~=~ 
~=~ Quoting Megayanti Sewu <msewu@xxxxxxxxxxx>:
~=~ 
~=~ > Do we need to drive there by ourselves or is there a bus and what time
~=~ is
~=~ > "friday night"
~=~ > If we do go, probably take 9/7 one.
~=~ > And where is this?
~=~ > If I go I'll take my sis and my brother too.
~=~ > Do you have a map or something? I'm good with maps :)
~=~ >
~=~ > -----Original Message-----
~=~ > From: Luka Mili?a
~=~ > To: 340 list
~=~ > Sent: 1/07/2004 4:24 p.m.
~=~ > Subject: [340] Skiing / tramping trip
~=~ >
~=~ > Leave Friday night, return Sunday nite. (either 9/7 to 11/7 or 16/7 to
~=~ > 18/7)
~=~ > Accomodation approx $20 per night, food not included
~=~ > Skiing pass - $70 for beginner including ski lesson, ski and boots
~=~ hire.
~=~ > Gloves, waterproof pants and jacket optional extra - cost approx $15
~=~ > each.
~=~ >
~=~ > Who's interested?
~=~ >
~=~ >
~=~ 
~=~ 
~=~ 
~=~ 
~=~ 
~=~ 
~=~ 
~=~ 





Other related posts: