mySolution, and also question about the Lowercase exception

bullsCowGame.zip (3.0 KB)

Hi,

I did the additional task, and added an insert word length, which then picks a specific word. I did however add a magic number in there. I thought about avoiding that, but then I needed to change some code, and I was not sure if i would mess it up. Interested if someone is going to look at it.

I am looking forward to the next session!

Cheers,
Thomas

p.s. Not sure why we added an exception for the lowercase and just put a to lower function on the input. Any thoughts?

1 Like

Don’t know, that’s what I did though.

I guess, that is some experience working with end-users. You ALWAYS need to validate the input. :stuck_out_tongue: