Curious Problem Solver | Data Analyst | Data Science Enthusiast | Python Lover
View My LinkedIn Profile
View My Curriculum Vitae
Project Description:
This project creates a game to guess a word based on two categories and allows users to input letters to guess the word.
Click here to View .py or .ipynb files relating to this project
Extract with Beautiful soup HTML parser to extract from a Wikipedia page the words under each category.
Allow the user to select a category and randomly pick a word in this category
Allow the user to input data and create a mechanism to assess the input using conditional loops
Run through the HTML per day, to extract the values and store in database
Respond if a user is correct or and respond if incorrect, give the answer once the number of turns has expired
This project was a code improvement of the framework from https://www.pythonforbeginners.com/code-snippets-source-code/game-hangman/
Improvements to the code included;
-I included a new feature to have more than one category ;
-I Included a feature to display the attempts remaining even though you got it correct;
-Added a feature that made the game not sensitive to text case.
Packages used : Beautiful Soup | Pandas | Requests | LMXL | RANDOM | TIME