Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 398 Bytes

File metadata and controls

12 lines (8 loc) · 398 Bytes

elevator

Simulating an elevator control system.

The elevator makes stops at requested floors in the direction it's going. It turns and goes down to the ground floor if it reaches the top or if there are no more requests above the current floor. The elvator stays on the ground floor when there are no requests.

To build and run with docker:

# docker build . -t elevator
# docker run