Good day everyone!
I would like to ask some problem about the program I am currently working (hangman to be specific). Since I am just a beginner, there are many things I would like to clarify. I would like to ask your help so that I can enable more to see what are my errors in my code. It is too many to ask. Please bear with me and sorry for the inconvenience.
1. I do have 4 categories (three rounds). The user will choose a category. For every round, a different category. You cannot choose the same category in different rounds. After choosing a category, the game will provide a random word. At this moment, i have done only the random part (and it might some errors too.)
2. I am also having difficulty in underscores and spaces. You see, I only guessed that part. I do not know if that will work (or maybe it will destroy my whole program.)
3. Will you give me some advices on how to check inputs and how to display the letters which are used already for a specific round? I am not merely asking for code (though it will be gladly accepted it) but some detailed explanations.
You see, my program is not yet finished. Sorry if you are kind of frustrated to see such kind of code. I have spent a week just for that long code and my head is spinning already. But then, I really want to understand this language. I just need some guidance from the experts and experienced people out there.
I have attached my code (for the hangman program). Please check it.
Thank you in advance. Hope that you can help me with this as soon as you can.