How one studio is building game AI to replicate a human storyteller