-- Update game state function update(dt) -- Update Mario's position mario.x = mario.x + mario.speed * dt -- ... end