Task 21 of Exquisite Corpse

I am curious to see someone’s solutions for task 21 of Exquisite Corpse. It seems impossible for me to solve, mainly just for bullet point one. For example, for the first bullet point task, how would I set the optional parameters to random values? I can’t think of a way to do this.

Hello!
In this case I think they mean an optional parameter would be one where you passed in an empty string(s).
e.g.
BuildACreature("",“monster”,“ghost”);

So, within the function, you could use an if statement to check if the parameter (head in the above case) was empty. Then, if it was generate a random number or else use the value provided.

Hope that gives you a start. If not, reply and I’ll add more detail.