https://github.com/iulial/elevator
https://github.com/iulial/elevator
elevator react redux redux-loop
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/iulial/elevator
- Owner: iuliaL
- Created: 2018-02-20T14:57:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-05T07:36:36.000Z (about 8 years ago)
- Last Synced: 2025-03-11T17:33:34.774Z (about 1 year ago)
- Topics: elevator, react, redux, redux-loop
- Language: JavaScript
- Homepage: https://iulial.github.io/elevator/
- Size: 645 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Elevator
Features:
- 6 floors
- each floor has a panel with 2 buttons up/down
- inside elevator panel 0 -> 6
- status logger (next floor, going up, going down)
- time floor to floor 3 seconds
- the lift should stop if requested for same direction on its way to target floor
- the lift favours direction vs requests chronology
## TODO
- rewrite decideNextTarget fn (it's horrible)
- handle outside requests edge cases
- solve case when calling elevator for the same floor as the current one
- simulate elevator translation between floors