I finished my cleanup on Hangman. There’s more I could do, but for now I’m at least satisfied that the source code is not quite so embarrassingly bad as it was before. Here’s the source if you want to read it: https://github.com/xerocross/vue-hangman . We all get better as we learn more. For now at least I’m satisfied that it has the basic unit testing in place.
As you can see, I also decided to add a hand-drawn hangman doodle similar to what you might see children draw in real life.
You are welcome to play the game on WidgetWonk here: https://widgetwonk.azurewebsites.net/Vue/VueHangman . As with all my widgetwonk widgets, this one is free to use and it will be indefinitely.