Game Loop Pattern

extrapolated render function