Description

Decouple the simulation engine from the global window scope, enabling testability in Node/Vitest environments.

Acceptance Criteria

Definition of Done