the Lift kata done in python
These are some features. They can be implemented in any order you prefer.
- an elevator responds to calls containing a source floor and direction
- an elevator delivers passengers to requested floors
- an elevator doesn't respond immediately. consider options to simulate time
- elevator calls are queued not necessarily FIFO
- you may test a sequence of events happening when passengers use the elevator
- you may implement current floor monitor
- you may implement direction arrows
- you may implement doors (opening and closing)
- you may implement DING!
- there can be more than one elevator
Implemented only the case when the controlling buttons are inside of the elevator - once you pressed the button, it stays on until the floor is reached
Introduce elevator control system (multiple elevators, buttons with up/down button)