Sunday, September 9, 2007

Robot Wife Algorithm - C#


Robot Wifey Algorithm Pseudocode



public void WifeyMain()
{
foreach (day in year)
{
// initialization
wifey.cook(latinFoods);
wifey.performKinkyActs(new random(datetime));

// emotion state management
switch (wifey.CurrentMood)
{
case PISSED: wifey.CurrentMood = HORNY;
case SAD: wifey.CurrentMood = HORNY;
case MAD: wifey.CurrentMood = HORNY;
case HORNY: wifey.CurrentMood = wifey.CurrentMood * 10;
}

// behavior management
try
{
if (wifey.CurrentMood == HORNY)
{
wifey.performKinkyActs(DateTime.Now());
}
}
catch (Exception exc)
{
wifey.performKinkyActs(DateTime.Now());
}
}
}


1 comment:

Anonymous said...

thanks for sharing this site. you can download lots of ebook from here

http://feboook.blogspot.com