Back and Better than Ever
I know you guys have probably seen a lot of Hangman programs - it is a very common coding challenge. In fact when I started learning Python, I made a Hangman program with the help of a tutorial. Even though the tutorial did
most all of the heavy-lifting and the program was very basic, I was enthralled with possibilities of programming.
Fast forward to a couple weeks ago. I wanted to revisit this challenge but this time I would program it from scratch and try to add as many advanced features as I could. It was difficult at times and I experimented with things I had never done before such as creating a flask server, but I was able to pull it off. I present to you . . . . . .
Pretty cool right! Wait till you explore the interface - it'll blow you away! Oh and since I should be a model citizen who cites their sources, I used an online ASCII art generator for the "Hangman". Check it out here. Let's move onto the features now!
- Beautiful color interface with custom slowprint function
- Stringent guess criteria
- Accurate guess evaluation
- Webscraped list of 500 words
- Live leaderboard
- Custom commands
- Help documentation
- There's a 'Hangman'
What else could you want!
How to play
To learn how to play hangman, I recommend reading the rules and commands, found in the help section of the program. To make gameplay and functionality more streamlined, check out these commands below!
/home - Directs to home screen
/help - Helpful information and commands
/play - Play Hangman
/leaderboard - Directs to leaderboard
/restart - Refreshes current page
/quit - Quits program
Everytime you see '>>>', you will have the option to enter commands.
If you submit your score, your username and score will show up on the leaderboard and everyone can see it. Please pick appropriate usernames as this is a friendly programming community. Good luck and go for that 1st place spot on the leaderboard!
Leaderboard Update 3/28/20: Congratulations to @MrEconomical and @DJWang for holding the top spots on the leaderboard and scoring a 6, the incredibly difficult highest possible score!
Congrats also to @iterate for joining the elite 6 club!
Stay tuned as there may be a possibility to score more than 6 points in future updates!
Leaderboard Load Update: Due to the sheer amount of entries on the leaderboard, it now displays 15 results with the option to load 10 more. The way it loads is very efficient - check it out!
On top of creating a complex, beautiful hangman game, there's a webscraper to generate the word list and a flask server to host the leaderboard. Check them out below!
Thanks for checking this out!
master of python terminal games is back at it with another amazing project. better than I could ever do!