I’m also very interested in this.
I’m at the stage where I’m exploring how to represent such a model/simulator.
The world isn’t brittle, so representing it as a code / graph probably won’t work.