Darwinbots Forum

Code center => Darwinbots Program Source Code => Topic started by: Peksa on April 25, 2008, 02:42:07 PM

Title: Is there a hard coded limit to total population?
Post by: Peksa on April 25, 2008, 02:42:07 PM
I've got a size 12 sim running with around 9200 bots and 800 veggies at dazzling 0,4 c/sec but the total population never seems to climb over 9999. Is this hard coded or just pure chance?
Title: Is there a hard coded limit to total population?
Post by: Numsgil on April 25, 2008, 04:38:24 PM
I think there's a hard coded limit, actually.  More as a sanity check than for technical reasons.  Of course, now that the program can almost manage 10K bots it might be something worth playing with.
Title: Is there a hard coded limit to total population?
Post by: EricL on April 25, 2008, 08:05:58 PM
Yup, the hard cap is 10000.  It was 5000 when I took over the code.   I'll raise it again in the next drop.