Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 (Denver Mods 7/26/84) 6/24/83; site drutx.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!drutx!slb From: slb@drutx.UUCP (Sue Brezden) Newsgroups: net.bizarre Subject: Re: Cat simulation algorithm--bug fix Message-ID: <42@drutx.UUCP> Date: Fri, 27-Sep-85 11:30:33 EDT Article-I.D.: drutx.42 Posted: Fri Sep 27 11:30:33 1985 Date-Received: Sun, 29-Sep-85 08:10:19 EDT Organization: AT&T Information Systems Laboratories, Denver Lines: 41 >if they [cats] had a microprogram to control them, it would implement >the algorithm > > while (alive) do > { > while (not visible(object)) do > walk around in daze; > while (visible(object)) > strike object; > if (random() < 0.15) > eat object; > lick fur; > sleep; > } Sorry, not quite. A slight addition needs to be made here. This bug fix implements our cats. Add after the if statement: while (random() < .65) { meow; go(outside); meow; climb(screen); go(inside); } use(catbox); -- Sue Brezden Real World: Room 1B17 Net World: ihnp4!drutx!slb AT&T Information Systems 11900 North Pecos Westminster, Co. 80234 (303)538-3829 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Your god may be dead, but mine aren't. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Brought to you by Super Global Mega Corp .com