You should
do some more error checking, like when you ask for difficulty and the user enters -1.