Skip to content
Metafor edited this page Oct 25, 2024 · 106 revisions

Solutions

Post your programs for elevator control here! Please create a new page for your solution and link to it from here.

Simple solutions

Programs with simple behaviour, typically less than 20 lines long.

  • Developer testing solution Used when developing elevatorsaga.
  • Twentyliner Complete solution for all 18 challenges in 20 lines of code
  • Tribuadore solutions (v 0.9) Minimal solutions for each challenge.
  • efouts solution Passes all challenges, some may take a few tries.
  • santrancisco solution Result of frustration so I hacked the matrix.
  • bschne solution Simple event-driven solution built around a few basic rules, solves challenges one through twelve.
  • Basic Solution. Only solves challenges 1..4, but does show use of most of the API, including multiple floors and elevators, and direction indicators, and can be used as a basis of a more complex solution.
  • Aidan Stupid Simple Solution Only solves 1..7 , but only adds 2 lines of code to the base layout.

Complex solutions

More advanced solutions here.

Clone this wiki locally