Thread: Lift me up

  1. #1
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688

    Lift me up

    I was thinking of a large progject to complete in my spare time and have come up with a good one - creating a program that simulates an elevator. I have wortked out several classes I will use:

    Bell class // elevator bell rings on a floor
    Light class // light goes off when elevator is empty
    Floor class // decide what floor
    People class // randomise people gettig in, gettijg off and staying on floors

    What other clasess could I include, I know I will proberley have to make
    a maximum number of people the lift can hold using a constant.

    Any ideas helpful, I have not started coding it yet, still in the design phase

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    My suggestions for a similar task on another forum
    http://www.daniweb.com/techtalkforum...highlight=lift
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Ah the old SimTower eh.

  4. #4
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Quote Originally Posted by Bubba
    Ah the old SimTower eh.
    Heh... I find SimTower being compared to the simplicity of this post an insult to Will Wright.
    Sent from my iPadŽ

  5. #5
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Sorry Will Wright. I didn't think he wrote that. AFAIK two Japanese guys wrote it and it began as a simple elevator simulator.

  6. #6
    Devil's Advocate SlyMaelstrom's Avatar
    Join Date
    May 2004
    Location
    Out of scope
    Posts
    4,079
    Quote Originally Posted by Bubba
    Sorry Will Wright. I didn't think he wrote that. AFAIK two Japanese guys wrote it and it began as a simple elevator simulator.
    I believe you are correct, but regardless, it still fits in the Sim line of games. It was like in the palm of your hands. A simple elevator simulation is not quite.

    However, I do find it to be a good practice project and I wish the OP luck with it.
    Sent from my iPadŽ

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help with Programming Assignment
    By JHaney in forum C++ Programming
    Replies: 18
    Last Post: 11-08-2005, 03:45 AM
  2. I can't find a job.
    By Cheeze-It in forum A Brief History of Cprogramming.com
    Replies: 42
    Last Post: 06-29-2003, 08:35 PM
  3. Bench Pressed 225lbs for 3 reps
    By Troll_King in forum A Brief History of Cprogramming.com
    Replies: 50
    Last Post: 09-06-2002, 03:42 AM
  4. Imagination
    By Jet_Master in forum A Brief History of Cprogramming.com
    Replies: 133
    Last Post: 06-11-2002, 03:21 PM
  5. Newbie working on a lift simulation
    By dethray79 in forum C++ Programming
    Replies: 1
    Last Post: 10-07-2001, 08:28 AM