Built idea · Sep 29, 2026
Elevator Algorithm Lab
A browser sandbox where students write an elevator dispatch policy in JavaScript, run it against instructor-authored traffic scenarios, and discover that SCAN and LOOK disk scheduling are literally elevator algorithms.
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. Limitation: cars travel straight to the chosen floor and never stop for riders along the way.