I need a simple hangman python program, due date soon.

I will add the requirements of the program in a zip file.

My requirements are that it doesn't have to be anything complicated, just simple enough (adequate) and is within the requirements in the "Final Requirements Locations.docx" file There's also a rubric in a separate file if that helps.


If it's possible, I want the program to use a file to add and get words for the game to use. By asking the user for their name and favorite word. 


I added my python program in "Hangman" folder with the name "Hangman.py"

I would want it a day before, if possible.


Thank you so much for your time!

Get Help With a similar task to - I need a simple hangman python program, due date soon.

Login to view and/or buy answers.. or post an answer
Additional Instructions:

Final project/Final project rubric.png Final project/Final Requirements Locations.docx Final Requirements Locations Please complete the table below and submit this document along with your final. This document will aid in allowing your instructor to locate your requirements in your application. In the table below, each of the requirements are numbered and listed. Please locate each of the following requirements in your code and notate the file that it is locate in and the line number. For example, the file would could be main.py and the line number would be 115. Student Name: Course Number: REQ # Requirement File Name Line Number 1 Instantiate subclass 2 Demonstrate polymorphism 3 Use of a main class 4 Use of a loop 5 Use of a decision structure 6 Use of a menu structure 7 One additional function other than main 8 Use of list, tuple, or dictionary 9 Writing data to a file 10 Reading data from a file 11 Comments in code Your instructor will evaluate this requirement Remember to use the naming convention when submitting this file. Final project/Hangman/.vs/Hangman/v16/.suo Final project/Hangman/Hangman.py #importing the time module import time import random #welcoming the user print("hello user!") YN = input("Are you ready to play hangman?:(Y/N)") if YN == "N" or YN == "n": time.sleep(1) print("Have a nice day!") exit() print("Time to play hangman!") print("note: use short case letters only") #here we set the secret\ #f = open("randomwords.txt", "r") #word = f.readlines(1) word = random.choice(["hello", "secret", "lol"]) #word = random.choice(word1) #print(word) #lines_to_read = [0] #wait for 1 second time.sleep(1) print ("Start guessing...") time.sleep(0.5) #creates an variable with an empty value guesses = '' #determine the number of turns turns = 10 # Create a while loop #check if the turns are more than zero while turns > 0: # make a counter that starts with zero failed = 0 # for every character in secret_word for char in word: # see if the character is in the players guess if char in guesses: # print then out the character print(char) else: # if not found, print a dash print("_"), # and increase the failed counter with one failed += 1 # if failed is equal to zero # print You Won if failed == 0: print("You won! Great Job!") print("Hope you had fun!") # exit the script break print # ask the user go guess a character guess = input("guess a character: ") # set the players guess to guesses guesses += guess # if the guess is not found in the secret word if guess not in word: # turns counter decreases with 1 (now 9) turns -= 1 # print wrong print("Wrong") # tells you print("You have", + turns, 'more guesses') # the user loses if the turns are equal to zero if turns == 0: # print "You Lose" print("You Lose") print("the word is",guesses) if guess == "give": print("You gave up") print("the word is",guesses) break Final project/Hangman/Hangman.pyproj <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>6295af94-1421-49ae-8384-711fb2064890</ProjectGuid> <ProjectHome>.</ProjectHome> <StartupFile>Hangman.py</StartupFile> <SearchPath> </SearchPath> <WorkingDirectory>.</WorkingDirectory> <OutputPath>.</OutputPath> <Name>Hangman</Name> <RootNamespace>Hangman</RootNamespace> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> <DebugSymbols>true</DebugSymbols> <EnableUnmanagedDebugging>false</EnableUnmanagedDebugging> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)' == 'Release' "> <DebugSymbols>true</DebugSymbols> <EnableUnmanagedDebugging>false</EnableUnmanagedDebugging> </PropertyGroup> <ItemGroup> <Compile Include="Hangman.py" /> </ItemGroup> <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Python Tools\Microsoft.PythonTools.targets" /> <!-- Uncomment the CoreCompile target to enable the Build command in Visual Studio and specify your pre- and post-build commands in the BeforeBuild and AfterBuild targets below. --> <!--<Target Name="CoreCompile" />--> <Target Name="BeforeBuild"> </Target> <Target Name="AfterBuild"> </Target> </Project> Final project/Hangman/Hangman.sln Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.29806.167 MinimumVisualStudioVersion = 10.0.40219.1 Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "Hangman", "Hangman.pyproj", "{6295AF94-1421-49AE-8384-711FB2064890}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {6295AF94-1421-49AE-8384-711FB2064890}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {6295AF94-1421-49AE-8384-711FB2064890}.Release|Any CPU.ActiveCfg = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {ABC2D91A-4D7C-4046-B394-CE0A87C1FBBB} EndGlobalSection EndGlobal Final project/Hangman/randomwords.txt hello abruptly

Final project/Final project rubric.png Final project/Final Requirements Locations.docx Final Requirements Locations Please complete the table below and submit this document along with your final. This document will aid in allowing your instructor to locate your requirements in your application. In the table below, each of the requirements are numbered and listed. Please locate each of the following requirements in your code and notate the file that it is locate in and the line number. For example, the file would could be main.py and the line number would be 115. Student Name: Course Number: REQ # Requirement File Name Line Number 1 Instantiate subclass 2 Demonstrate polymorphism 3 Use of a main class 4 Use of a loop 5 Use of a decision structure 6 Use of a menu structure 7 One additional function other than main 8 Use of list, tuple, or dictionary 9 Writing data to a file 10 Reading data from a file 11 Comments in code Your instructor will evaluate this requirement Remember to use the naming convention when submitting this file. Final project/Hangman/.vs/Hangman/v16/.suo Final project/Hangman/Hangman.py #importing the time module import time import random #welcoming the user print("hello user!") YN = input("Are you ready to play hangman?:(Y/N)") if YN == "N" or YN == "n": time.sleep(1) print("Have a nice day!") exit() print("Time to play hangman!") print("note: use short case letters only") #here we set the secret\ #f = open("randomwords.txt", "r") #word = f.readlines(1) word = random.choice(["hello", "secret", "lol"]) #word = random.choice(word1) #print(word) #lines_to_read = [0] #wait for 1 second time.sleep(1) print ("Start guessing...") time.sleep(0.5) #creates an variable with an empty value guesses = '' #determine the number of turns turns = 10 # Create a while loop #check if the turns are more than zero while turns > 0: # make a counter that starts with zero failed = 0 # for every character in secret_word for char in word: # see if the character is in the players guess if char in guesses: # print then out the character print(char) else: # if not found, print a dash print("_"), # and increase the failed counter with one failed += 1 # if failed is equal to zero # print You Won if failed == 0: print("You won! Great Job!") print("Hope you had fun!") # exit the script break print # ask the user go guess a character guess = input("guess a character: ") # set the players guess to guesses guesses += guess # if the guess is not found in the secret word if guess not in word: # turns counter decreases with 1 (now 9) turns -= 1 # print wrong print("Wrong") # tells you print("You have", + turns, 'more guesses') # the user loses if the turns are equal to zero if turns == 0: # print "You Lose" print("You Lose") print("the word is",guesses) if guess == "give": print("You gave up") print("the word is",guesses) break Final project/Hangman/Hangman.pyproj <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>6295af94-1421-49ae-8384-711fb2064890</ProjectGuid> <ProjectHome>.</ProjectHome> <StartupFile>Hangman.py</StartupFile> <SearchPath> </SearchPath> <WorkingDirectory>.</WorkingDirectory> <OutputPath>.</OutputPath> <Name>Hangman</Name> <RootNamespace>Hangman</RootNamespace> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> <DebugSymbols>true</DebugSymbols> <EnableUnmanagedDebugging>false</EnableUnmanagedDebugging> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)' == 'Release' "> <DebugSymbols>true</DebugSymbols> <EnableUnmanagedDebugging>false</EnableUnmanagedDebugging> </PropertyGroup> <ItemGroup> <Compile Include="Hangman.py" /> </ItemGroup> <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Python Tools\Microsoft.PythonTools.targets" /> <!-- Uncomment the CoreCompile target to enable the Build command in Visual Studio and specify your pre- and post-build commands in the BeforeBuild and AfterBuild targets below. --> <!--<Target Name="CoreCompile" />--> <Target Name="BeforeBuild"> </Target> <Target Name="AfterBuild"> </Target> </Project> Final project/Hangman/Hangman.sln Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 16 VisualStudioVersion = 16.0.29806.167 MinimumVisualStudioVersion = 10.0.40219.1 Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "Hangman", "Hangman.pyproj", "{6295AF94-1421-49AE-8384-711FB2064890}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {6295AF94-1421-49AE-8384-711FB2064890}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {6295AF94-1421-49AE-8384-711FB2064890}.Release|Any CPU.ActiveCfg = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {ABC2D91A-4D7C-4046-B394-CE0A87C1FBBB} EndGlobalSection EndGlobal Final project/Hangman/randomwords.txt hello abruptly

Related Questions

Similar orders to I need a simple hangman python program, due date soon.
7
Views
0
Answers
Nested imbalanced design of expriment using Box-Adjusted wald-type test
I need to provide statistical analysis of a nested design non-balanced design of experiment. I am hoping to have the implementation in either R, SPSS, or both. I will need the answers to be provided as shown in the attached file (Project.docx), and also wo...
27
Views
0
Answers
CMPT 200 Coding Homework
Write a class called Fraction that can store a rational number (reminder: those numbers that can be expressed in the form a/b, where a and b are integers are rational numbers). For example, a variable with a value of ½ would be created using oneHalf ...
14
Views
0
Answers
Artificial Inteligence System Technique
This is a Master Degree course and I have attached example questions, there are 5 questions and only 3 need to be answered. We will get the actual questions on the day of the exam and they need to be completed within 2 hours, which means the expert has to ...
18
Views
0
Answers
Simulating Networks
Here are the details of first assignment for Computer Networks class. This is a pretty basic assignment with very little work but you will have to do initial setup for virtual box on your machine. Here are the details on how to do the setup: Download virt...