If Henry were a program and he had a Biting function, it would look something like this...(Disclaimer: This is not meant to follow any programming best practices or language.)
puppy=yes
Biting(puppy)
{
body_part_list=[fingers,fingers,forearm,toes,calf,fingers,hair,fingers,forearm,forearm]
while puppy
{
chosen_body_part= random(body_part_list)
call biteBiteBite(chosen_body_part)
}
biteBiteBite(body_part)
{
open mouth over body_part
close down mouth with body_part in it
}
}
Yup maybe in a few months I'll add in a way to get out of that loop but right now it feels infinite. :D
Thank you Casey for your contribution by providing the probability of Henry choosing a certain body part.
No comments:
Post a Comment