Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/possen/elevator

Elevator Simulator tries to quickly serve users.
https://github.com/possen/elevator

demo elevator-problem elevator-simulation ios simulation swift uistackview

Last synced: 19 days ago
JSON representation

Elevator Simulator tries to quickly serve users.

Awesome Lists containing this project

README

        

Elevator
--------

* This project simulates the logic of a 4 elevator system.
* it tries to minimize wait time by distributing the requests to multiple cars.
* If you start multiple requests at the same time, it determins which is available and distributes it to the various elevators.
* it demonstrates the use of UIStackViews

Operation
---------
* The up and down buttons on the left side simulate the Up and Down buttons on the floor levels.
* The 4 following columns are the current state of the elevators. If you click on the floor it simulate the buttons inside the elevator.
* The arrows next to the columns show which way the elevator is going.
* Key:
- Blue: no elevator present on the floor.
- Yellow: elevator on floor, door closed.
- Black: door open
- Green: indicates that the elevator was requested from the elevator panel.

Bugs
----
* the up and down buttons on the floor panels should renable if the elevator that servieced the request changed directions.

Screenshot
----------
![alt text](https://github.com/possen/Elevator/blob/master/Screenshot.png)