Every video game character in existence has been programmed with a role in mind. For example, a village NPC might tell the player about an upcoming danger, and will only do that for the rest of their existence. However, a bored programmer created an NPC with no real purpose in mind just for the fun of it, and published the game with this NPC online. The NPC slowly becomes self-aware over time.