Game Loop Pattern

non-deterministic update function