Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84; site mhuxr.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mfs From: mfs@mhuxr.UUCP (Damballah Wedo) Newsgroups: net.bizarre Subject: Re: Cat simulation algorithm--bug fix Message-ID: <449@mhuxr.UUCP> Date: Sat, 5-Oct-85 19:15:11 EDT Article-I.D.: mhuxr.449 Posted: Sat Oct 5 19:15:11 1985 Date-Received: Sun, 6-Oct-85 07:11:56 EDT References: <42@drutx.UUCP> <2455@ut-ngp.UTEXAS> Organization: The Poto Mitan in the Houmfor Lines: 42 > 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 Here is another needed cat simulation function: extern fed = FALSE; wakeup_and_feed() { if ( time() >= 6AM && sleeping(human) ) { while ( sleeping(human) ) { jump_on(human); sniff(human); bite(human, nose); } } while ( awake(human) && ! fed ) { bite(human, ankle); bite(human, heel); rub_on_leg(human); climb(wall); } } -- Marcel-Franck Simon ihnp4!{mhuxr, hl3b5b}!mfs " Papa Loko, ou se' van, ou-a pouse'-n alle' Nou se' papiyon, n-a pote' nouvel bay Agwe' " Brought to you by Super Global Mega Corp .com