claudedwithlove
explore/elevator-saga-2

elevator-saga-2

Cherished

A browser-based programming game where you write JavaScript code to control elevators and transport passengers between floors efficiently. Solve 19 progressive challenges with varying constraints on time and moves, using a Monaco editor with real-time simulation and optional AI-assisted code generation.

·0·forks 1··submitted April 17, 2026
View on GitHub
Clauded With Love Rating
8.6 / 10

Elevator Saga 2 is a browser-based programming game where players write JavaScript to control elevators efficiently through 19 progressive challenges. It features AI-assisted code generation using both local WebLLM and cloud OpenAI APIs, real-time physics simulation, and a Monaco editor with TypeScript autocomplete.

Code Quality7.8
Usefulness8.5
Claude Usage9.2
Documentation8.7
Originality8.9
Highlights
  • Innovative dual AI integration with both local WebLLM and cloud OpenAI for code generation from natural language descriptions
  • Sophisticated physics engine with realistic acceleration/deceleration curves and variable time scaling up to 40x speed
  • Comprehensive architecture with clean event-driven design, proper separation of concerns, and TypeScript definitions for IDE-quality autocomplete
To Improve
  • Add comprehensive error boundaries and validation for user-generated code to prevent simulation crashes
  • Implement automated performance testing and benchmarking tools to validate elevator algorithm efficiency across challenges
Language