SmileMath Playables

Elevator Saga

Puzzle

Write JavaScript to control a bank of elevators and move enough passengers to beat each challenge.

The top of the screen shows a building in cross-section, with people arriving on its floors and calling for a ride. You do not move the elevators by hand. You write a short program in the editor below that decides where each elevator goes, then apply it and watch it run.

Each of the 18 challenges sets a target. The first asks you to move 15 people in 60 seconds with one elevator and three floors. Later challenges add floors and elevators and change the test: some limit the number of elevator moves, and others fail as soon as any passenger has waited too long. Passing a challenge opens the next one.

How to play

Edit the code in the editor, click Apply, then use the speed buttons. Click Start to run a challenge.

Tips

  • Your program reacts to events, such as an elevator becoming idle, a button pressed inside it, or a call button pressed on a floor.
  • The on-screen counters show people moved, moves used and the longest wait.
  • Your program is saved in the browser automatically, and Reset restores a simple working version.

Credits

By Magnus Wolffelt · Original credits · Source: github.com

More Puzzle Playables

  • Lost in Firefly Forest: Collect riddles and track patterns in a dark forest that seems to loop back on itself.
  • VIM Master: Learn Vim motions and editing commands through short interactive lessons and challenges.
  • Midwinter Springtime: Compress and release springs to move blocks around a single snowy board. Each push changes where the next spring can send you.
  • Astray: Roll a metal ball through a 3D maze to the exit. Each level makes the maze bigger.
  • The Flames: Spread fire between pieces of wood while protecting the barrels you still need. Each of the ten rooms starts with a different arrangement.
  • Super Castle: Build a fortress one block at a time across a set of small block puzzles.
  • Oh No My Rainbow!: Sort a scrambled rainbow so the hungry unicorns can get to their apples.
  • Neverball: Tilt the floor to roll a ball through 3D obstacle courses, collect coins to open the goal and reach it before time runs out. A mini golf course is also included.

All Playables