I am in the process of upskilling myself for work in the Devops/Sysops space. To that end, I realized that I am grossly under skilled in a few critical areas. Right now, that area of focus is Ruby. I know just enough to automate the most simple of processes, but I want to go deeper. To that end, I built Hang Man, using ruby. At this point, there is no animated Hang Man, just the guessing game… so I don’t know that I can call it Hang Man. But, I do intend to add the Man sometime when I have time… which might not happen.
What I Learned
Through this project, I learned a LOT about arrays. How to generate them, how to add, remove, or change elements, and how to compare data sets. It was a fun and challenging process to be sure. I also learned how to apply basic loops in Ruby. Ruby is not too semantically different from Python, which I already have a bit of experience with, so overall it was not too much trouble to migrate to Ruby for this project.
Feel free to download and use this code base for any of your own projects. I’m excited to have some code now that I can reference moving forward.