Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site ut-ngp.UTEXAS
Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!qantel!dual!lll-crg!mordor!ut-sally!ut-ngp!dlnash
From: dlnash@ut-ngp.UTEXAS (Donald L. Nash)
Newsgroups: net.bizarre
Subject: Re: Cat simulation algorithm--bug fix
Message-ID: <2455@ut-ngp.UTEXAS>
Date: Fri, 4-Oct-85 17:32:08 EDT
Article-I.D.: ut-ngp.2455
Posted: Fri Oct  4 17:32:08 1985
Date-Received: Sun, 6-Oct-85 05:57:52 EDT
References: <42@drutx.UUCP>
Organization: UTexas Computation Center, Austin, Texas
Lines: 36


*** REPLACE THIS LINE WITH KITTY LITTER ***

All these cat simulation programs are forgetting something very
important.  They all forget to declare the cat!  How do you expect the
cat to work properly if it is not declared.  Therefore, all new cat
simulations should include the following code:

cat(mom,dad)
female mom;
male dad;
{
	/* The rest of the cat simulation goes here. */
}

Some method of determing the behavior of the cat from the values of mom
and dad should also be included.  Since I'm not very knowledgeble about
cats, I won't attempt to do this.  Also, when the cat dies, (ie, when it
exits the    while (alive)    loop), should it call exit()?  If so, what
value should it exit with?

Here are a few new functions which a good simulation should include:

	cough_up(hairball);
	run_from(dog);
	scratch(dog,nose);
	climb(tree);
	get_stuck_in(tree);

Hopefully, a pretty good simulation of a cat will be implemented
somewhere in a few months.

					Don Nash

UUCP:  ...!{ihnp4,allegra,seismo!ut-sally}!ut-ngp!dlnash
APRA:  dlnash@ngp.UTEXAS.EDU