The project employed a 'stateful' system where the game environment tracked every decision as a data point. By using a solver for logical equations, the engine could pause the game to evaluate the validity of a current narrative state against the player's history, determining if specific paths were open or if new content needed to be branched.