Instantly share code, notes, and snippets.

Embed
What would you like to do?
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 validate passenger floor requests
* 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
@ermagana

This comment has been minimized.

ermagana commented Jan 30, 2013

Matt, do you still have the links to the gists presented last night?

@mattflo

This comment has been minimized.

Owner

mattflo commented Apr 30, 2014

A year later response is better than never... Typically people don't make it very far in this during hack club. If anyone has any compelling solutions, even if they are partial, feel free to link a gist here.

@steven-solomon

This comment has been minimized.

steven-solomon commented Jun 9, 2018

I've added your kata to an aggregate website, Egga/kata-log#15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment