function life(luck, health, love, talent, money)
{
if (luck is low)
return
do
{
if (love is not empty and luck is high)
meet someone and stay with them
else if (love is empty)
live alone, sadly
else if (luck is high)
hook up meaninglessly
else if (money is high)
marry anyone you please
if (talent is known)
{
learn your craft
exploit your talent
if (luck is high and money is not important)
stick to it
} else
{
figure out your talent
}
if (money is high)
{
help others
eat well
buy expensive things
travel extravagantly
}
} while (health > 0)
return
}
Life as a Function
Reply