andreyors / elevator-kata

the Lift kata done in python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

elevator-kata

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

Some clarifications

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

Plans

Introduce elevator control system (multiple elevators, buttons with up/down button)

About

the Lift kata done in python


Languages

Language:Python 69.9%Language:Dockerfile 30.1%