Hangman!
Today on the 100 days of coding, it’s… Hangman! One of the first videos did a really good job on flowcharts. Might have been one of the best actually. Simple look at how Hangman would work via flow chart.

What I like most about this course, is the simple step by step in creating these daily challenges. Make baby steps to the goal. So for now, there are three predetermined words, and we are doing a simple letter check at this point. So, it randomly picks one of the three words, then asks for one letter and determines if that letter is in the word being asked, and where it is in the word. That sounds helpful later on..

Next up, displaying the right letter. Might be important for Hangman eh? So still random word, (Cheating lol seeing what is the word to help troubleshoot). Pick a letter of the word, so I put C for camel, and it displays properly.

So now, we have a while loop to keep the player guessing until they get it correct. A lot of code checking going on with the display. Want to ensure my project is working as intended…

Well… Have all the basic fundamentals down now. However, the user experience isnt all that great. Time, for… Improved UI!

Imported two files. One that displays all the cool hangman stuff, the other is a massive list of words to randomly pick. Added code to tell you at the end what the word was. Fun exercise. Gets the brain slowly going. Can’t wait for this to ramp up more but baby steps. Know whats wrong with baby steps? Nothing!