Elevator Riddle-777Sunflower777

Step 1: Once I press the down or up arrow outside of the elevator, if you have nobody in the elevator, you should go to the floor I am on.

Step 2: If someone was in the elevator before I was, take them to where they were heading, open your doors, and allow them to exit. Shut your doors if no one else is getting on and then go to the floor I am on.

Step 3: Once your at my floor, open your doors and leave them open for about 5-10 seconds before you close them incase anyone else needs to get in.

Step 4: Once that timing is up, or once I am in the elevator and press the “close doors” button, you can close the doors.

Step 5: I will pick a floor using the buttons inside of the elevator and you are to bring me to that floor. If, for example, I am going up to the 9th floor and someone on the 8th floor presses the button outside of the elevator to go up, you should stop at that floor, open your doors, and allow the person inside the elevator.

Step 6: If they are going to the 9th floor like I am, once we get there, open your doors, leave them open for about 5-10 seconds so we can exit, and then close the doors.

Step 7: If they were going to the 10th floor, unlike I was, you should go to the 9th floor, open your doors, allow me to exit, close your doors, and then continue taking the other person up to the 10th floor.

Step 8: Once you have released everyone from the elevator, you should go down to the 1st floor and rest until someone else needs your help.

This entry was posted in X Archive. Bookmark the permalink.

2 Responses to Elevator Riddle-777Sunflower777

  1. davidbdale's avatar davidbdale says:

    There’s a lot of good work going on here, Sunflower777. I like that you’re actively giving the elevator instructions, not describing the situations an elevator might be in and how it would act.

    Just some notes about the first two instructions:

    Step 1: Once I press the down or up arrow outside of the elevator, if you have nobody in the elevator, you should go to the floor I am on.

    —You don’t need to introduce yourself into the instructions at all, and if you get comfortable with the instructions as revisions continue, you may be able to remove yourself. Passive voice is one way: when an UP or DOWN arrow is pressed, PROCEED to the corresponding floor.

    Step 2: If someone was in the elevator before I was, take them to where they were heading, open your doors, and allow them to exit. Shut your doors if no one else is getting on and then go to the floor I am on.

    —The elevator doesn’t know or care that it has a passenger and opens the doors, and closes them too, whether someone is getting off or on or neither.

    If you can apply this general advice to all your instructions, I’ll be eager to return to see the results.

  2. davidbdale's avatar davidbdale says:

    The elevator will not extrapolate from examples to create rules for itself. You need to spell out the rules as GENERAL INSTRUCTIONS and identify the EXCEPTIONS to the rules also in general terms.

    Some examples in no particular order:

    —In response to any CALL button, PROCEED to that floor and OPEN the doors.
    —You have three modes: AT REST, GOING UP, GOING DOWN.
    —When you are GOING DOWN, IGNORE any GOING UP requests.

    See what I mean?

    Provisionally graded out of gratitude for your useful contribution to the project and your effort. You may still earn a Regrade by transforming your descriptions of elevator operations into INSTRUCTIONS written for the elevator (as if the Elevator were your reader and needed to be told how to operate).

Leave a comment