Simulation Hypothesis, Science Fiction, Cyberpunk, The Matrix, Artificial Intelligence.
the player. This gives us an interesting twist on the NPC vs. RPG narrative, and a new way to view free will. You could argue that the NPC is deterministic — it runs based on code. You could also argue that when it is inhabited by a player, it is no longer an NPC, it is an avatar of a person