Fun project in Haskell that simulates rock ants finding a new home once their current one is destroyed,
Write up from years ago: Agent Based Model of Collective Decision Making by T. Albipennis Ants
Sample run from MonadicParty
Videos that go over the implementation: