 For the game, Valve developed a new game engine, Source, which handles the game's visual, audio, and artificial intelligence elements.The Source engine comes packaged with a heavily modified version of the Havok physics engine that allows for an extra dimension of interactivity in both single-player and online environments.In the trilogy of episodic games that followed "Half-Life 2", Valve made minor tweaks to the game's engine.