Skip to content

My (partially complete) solution to the "design an elevator system" challenge

Notifications You must be signed in to change notification settings

groeney/elevator-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Usage

  • 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)

About

My (partially complete) solution to the "design an elevator system" challenge

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages