- Open up python repl in root dir:
python
- Import controller:
from controller import Controller
- Create the system:
controller = Controller()
- View initialized system with custom repr:
controller
- Add elevator:
controller.add_elevator()
- Request pickup:
controller.request_pickup(floor)
- Request dropoff:
controller.request_dropoff(elevator, floor)
- Create the system:
-
Notifications
You must be signed in to change notification settings - Fork 0
groeney/elevator-system
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
My (partially complete) solution to the "design an elevator system" challenge
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published