questoin on breve logic

"noz" <[email protected]> Thu, 31 Mar 2005 16:34:38 +0100
Newsgroups gmane.comp.breve
Message-ID <[email protected]>

hello all.

im a new user of breve although im not new to AI or AL. im a student and having a bit of problem in creating the logic for my program.

Basicly im making a simulatoin for breeding, and i want characteristics of both pearents to be given to the child.the child will be born fully grown and ready to go.

my logic so far is



make terrain

make tree

make the first batch of animals

keep food droping from tree

when two animals breed create offspring.

i am thinking that for well defined behaviour a subroutine has to be used as i am createing multiple behaviours. so when a creature is born it is told what subrountines it will use, so for each object i can create a new mix of subrountines. there characteristics will not just be how fast they move and suchlike, it will also use qualtities like daring where depending on the genes it has depends on weather it will fight a strounger apponent and suchlike. so i want to taylor the indevidual behaviour of each creature and each creature will carry a interger as health and hunger. i want to make many multiples so i cant have a a seperate part of the program for each, if i make a new instance how do i difene that instance to use which subrountines and keep its interget assigned to that instance? 

i am sorry for the enconviance but as you can see my logic isn't quite right and am hoping somone could point me in the right directoin.

thankfully 
noz

_______________________________________________
breve mailing list
[email protected]
http://lists.spiderland.org/mailman/listinfo/breve