The Journal of Artificial Societies and Social Simulation thinks religion is just a part of evolution. How totally fitting is it that those least likely to believe the theory of evolution because of religious beliefs do so because of evolution?
The reason this is here on the AI blog is because this was tested using sims. The code is open source. You can download a copy of “Evogod” and read the papers ‘Is Religion an Evolutionary Adaptation? for yourself.
If you are interesting in building sim worlds this this is a great place to start.