Skip to content

Instantly share code, notes, and snippets.

@dpolivaev
Forked from mattflo/Elevator Kata
Last active February 18, 2021 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dpolivaev/87a6b48f44796b922200f9f96ef602a5 to your computer and use it in GitHub Desktop.
Save dpolivaev/87a6b48f44796b922200f9f96ef602a5 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment