Vaguely inspired by this thread and some thoughts I had while writing up my Butterfly Effect post.
Ideally I'd like to have a program that runs something vaugely looking like history, but right now I'm just settling for succession in France. My current best run of the program looks something like this:
Which looks decent enough but most of the other runs are embarrassing - King Louis has some random number of sons, all called Francis (don't ask) and there can only be one succession event before the program thinks it's run out of heirs.
(As you can see, there's a succession crisis despite a younger brother being alive for another 33 years.)
So it's going pretty well, all told - I only started yesterday. But if anyone has suggestions on how to properly implement primogenature in Objective C, I'd be glad to hear it.
EDIT: while waiting for the serverload to clear up, I fiddled around some more and now there's a giant recursive swarm of spawn, all called Francis (I've started tagging them with DOB). Still no progress on a reasonable primogenature system, though.
(This was actually a smaller run; normally they outbreed the death rate and make it all the way to the end-of-sim in 1800. The fact that you occasionally get creepy stuff like
doesn't hurt either.
)
Ideally I'd like to have a program that runs something vaugely looking like history, but right now I'm just settling for succession in France. My current best run of the program looks something like this:
Year 1605: Louis had a son called Francis
Year 1614: Louis died!
Year 1614: Louis was succeeded by Francis.
Year 1618: Francis died!
Year 1618: Succession crisis!
Which looks decent enough but most of the other runs are embarrassing - King Louis has some random number of sons, all called Francis (don't ask) and there can only be one succession event before the program thinks it's run out of heirs.
Year 1620: Louis had a son called Francis
Year 1633: Louis had a son called Francis
Year 1659: Francis died!
Year 1659: Louis had a son called Francis
Year 1666: Louis had a son called Francis
Year 1669: Francis died!
Year 1674: Louis died!
Year 1674: Louis was succeeded by Francis.
Year 1717: Francis died!
Year 1717: Succession crisis!
Year 1750: Francis died!
(As you can see, there's a succession crisis despite a younger brother being alive for another 33 years.)
So it's going pretty well, all told - I only started yesterday. But if anyone has suggestions on how to properly implement primogenature in Objective C, I'd be glad to hear it.
EDIT: while waiting for the serverload to clear up, I fiddled around some more and now there's a giant recursive swarm of spawn, all called Francis (I've started tagging them with DOB). Still no progress on a reasonable primogenature system, though.
Year 1603: Louis had a son called Francis 1603
Year 1651: Louis had a son called Francis 1651
Year 1651: Francis 1603 died!
Year 1692: Louis died!
Year 1692: Succession crisis!
Year 1713: Francis 1651 had a son called Francis 1713
Year 1716: Francis 1651 died!
Year 1736: Francis 1713 had a son called Francis 1736
Year 1739: Francis 1713 had a son called Francis 1739
Year 1748: Francis 1736 died!
Year 1775: Francis 1713 died!
Year 1778: Francis 1739 died!
(This was actually a smaller run; normally they outbreed the death rate and make it all the way to the end-of-sim in 1800. The fact that you occasionally get creepy stuff like
Year 1738: Francis 1719 had a son called Francis 1738
Year 1738: Francis 1738 had a son called Francis 1738
Year 1738: Francis 1738 had a son called Francis 1738
doesn't hurt either.
Last edited: