4 ms·
This reminded me of another fun programming game called Elevator Saga (https://play.elevatorsaga.com https://play.elevatorsaga.com). Essentially, you need to wr
by austinl 4y ago
This reminded me of another fun programming game called Elevator Saga (https://play.elevatorsaga.com https://play.elevatorsaga.com). Essentially, you need to write the code for a system of elevators to transport the maximum number of people in a given time.
It's a problem I've thought about every so often, but never bothered to look up how it was commonly implemented. For example, If you have a large building with multiple elevators, is there an optimal way to arrange the elevators while they're idle to minimize transport time? Or what about accounting for time of day? (e.g. stacking the elevators on the bottom floor in the morning as people arrive at the office). Or what advantages do you gain mathematically from having Up/Down buttons vs. the touchpads where people select the exact floor? Seems like an interesting problem if you work on elevators installed in tall office buildings.
- andrewljohnson 4y agoI hear the sound of elevator engineers cracking their knuckles.