Apps / Elevator Algorithm Lab

Elevator Algorithm Lab

Write an elevator dispatch policy in JavaScript and run it against seeded traffic.

Open Elevator Algorithm Lab ↗ Want one like this?

What it does

A lab where students write the rule that decides which floor an elevator visits next, then watch it run in an animated building with one or more cars. Built-in scenarios include a morning rush, a lunch spike and a starvation trap, and instructors can write their own, including hidden ones for grading. Each run reports wait times, ride times and energy used, two rules can race side by side, and the same runs redraw as disk scheduling, so classic textbook algorithms come with it. Results go on a leaderboard you can export.

Good to know

Cars travel straight to the chosen floor and never stop for riders along the way.

More for learners

StepWise

100+ data structures and algorithms, every step narrated with its pseudocode line and variables; step back, share as a link, embed in Canvas.

LearnersEducators Open ↗

Digital Student Assistant

An AI teaching assistant that asks before it tells and won’t hand over homework. Yusuf Pisan’s data structures students at UW Bothell use it now.

EducatorsLearners Open ↗