View Single Post
Re: Have a nice flight, Nova
Old
  (#8)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Have a nice flight, Nova - 29-01-2004

Code:
void CBaseNova::Think ()
{
   // main routine (light neural cell consumption)
   if (!trapped_girlfriend)
	  Hunt (); // TODO: implement a single man countdown timer for entity self-destruction
   else
	  Happy (); // smiles exxageratedly, dances around, puts garbage in IRC
}
 
 
void CBaseNova::Hunt ()
{
   int i;
   people_t *pChick;
 
   // cycle through all chicks
   for (i = 0; i < World->maxPopulation; i++)
   {
	  pChick = &World->Population[i]; // quick access to chick
 
	  if (pChick->sex == SEX_MALE)
		 continue; // discard males (Nova isn't gay AFAIK)
 
	  if ((pChick->Pussy->v.origin - self->Dick->v.origin).Length () > 500)
		 continue; // discard chick if too far for Nova to shag her
 
	  if (pChick->is_whore)
		 ShagAndThrowAway (); // don't count this as a real chick
 
	  TrapChick (pChick); // attempt to trap this chick
 
	  if (pChick->not_trapped)
		 printf ("OMG BAITCH FUKOFF WTF LOLOL UGLY WHORE FUKFUKFUCK\n"); // Nova did not succeed with this one
 
	  else
	  {
		 printf ("Hello %s, you're cute, do you mind if I pay you a drink ?\n", pChick->name);
		 trapped_girlfriend = TRUE;
		 Shag (pChick); // shag as soon as she's trapped
		 return; // don't look any further
	  }
   }
 
   printf ("DAMNIT, no shaggable girl around!\n");
   self->countdown--; // Nova gotta find a g/f quick
   MoveElsewhere (); // Australia, for example...
 
   return;
}
this is a hell of an AI indeed...



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote