Michael Wales Projects
Project · Curiosity · Browser Game

The Elevator Algorithm

Standing in line on a summer trip to Universal Orlando, I started wondering what algorithm actually runs an elevator. This is the answer turned into a game: you write a JavaScript controller, run it against a deterministic simulation, and watch it drive the building — then iterate across levels that get harder one idea at a time.

Algorithmic thinkingDeterministic simulationClient-side, no serverInteractive game

It teaches the why, not the answer. Reference controllers (FCFS, SSTF, SCAN, LOOK) sit behind a clearly labeled spoilers panel, and hints name the idea and the symptom in your own run rather than hand you the solution.

Opens its own self-contained experience — you'll leave the blog's chrome behind.