Question: Python Final Project Purpose: The purpose of this project is to demonstrate your understanding of the Python programming language fundamentals that you have studied. You

Python Final Project Purpose: The purpose of this project is to demonstrate your understanding of the Python programming language fundamentals that you have studied. You will do this through the creation/completion of a game similar to Hangman.

Instructions: Using the artifacts provided, create a Hangman game in Python the does the following: 1. Tells the user to enter a number from 1 to 5, and collects the users response 2. If the user enters the value -1, tell the user Goodbye and exit the game 3. If the user enters anything else but -1 and a number from 1-5, ask the user the question again until the user either enters a valid number, or the number -1 4. Once the user has entered a valid number, present the user with the appropriate clue, and ask the user to solve the word 5. If the user answers correctly, begin the process all over 6. If the user answers incorrectly, present the user with the first letter of the word, and ask them to guess again. Repeat this until either the user enters the correct answer, or until the user has been presented with all of the letters.

Artifacts: cluesDictionary = {1: {"whale": "This is the largest mammal type"}, 2: {"eagle": "This is the US national bird"} 3: {"football": "This popular sport is played with helmets and pads"}, 4: {"hawaii": "This state is a collection of islands"}, 5: {"moon": "This satellite helps control the tides"}}

Rubric Your project is worth a maximum of 700 points, and MUST include the following for full points.

1. The project must have at least all of the functionality that is demonstrated in the video referenced later in this document. 2. Project must accept any user value without throwing a traceback error. All errors must be handled, and all values the user inputs must be managed. 3. Project must use methods (functions) for any part of the repetitive processes that can be done more than once. For instance, any question that a user might be asked should be called from a method, rather than being code into the body of the main() method. 4. Project must contain all of the following: At least (5) methods, one while loop, one for loop, at least one set of if statements, at least one set of if-elif-else statements, a try-except block, at least one break statement, at least two continue statements, at least one dictionary with at least (5) clue/answer pairs. 5. The user should always be presented with the current letter for any wrong answer. If the letter is the first or last letter, the user should be told that.

Can you please solve this in python. Thank you

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!