Hacker News new | ask | show | jobs
by knbknb 1832 days ago
In the NetLogo Models Library there are quite a few similar models already, "Moths", "Ants", "Gaslab Maxwells Demon", and more variations (adaptive/nonadaptive, single/flocking etc)

http://ccl.northwestern.edu/netlogo/docs/