This was my original solution / approach for the popular MitX Python Hangman Problem.
Full Code :
[login to view URL]
However, I am no Dev and this is me having some fun with my niece. So, she asked, "where is the hangman ? Where is the Scaffold ?" Why does it take forever to load ? Why can I only play once ? " :(
I am telling you, tough crowd we have on our hands ... lol :)
I have a pretty basic understanding on how to give her what she asks but not sure how to implement it on my code :
1. The computer loads a list of X amount of words from a file, but it takes a ridiculous amount of time to load the file and pick a word.
2. After each failed attempt, display the scaffold and a piece of the Hangman.
There must be a more efficient way of doing this :
if (guesses == 0):
print "_________"
print "| |"
print "|"
print "|"
print "|"
print "|"
print "|________"
elif (guesses == 1):
print "_________"
print "| |"
print "| O"
print "|"
print "|"
print "|"
print "|________"
elif (guesses == 2):
print "_________"
print "| |"
print "| O"
print "| |"
print "| |"
print "|"
print "|________"
elif (guesses == 3):
print "_________"
print "| |"
print "| O"
print "| \|"
print "| |"
print "|"
print "|________"
elif (guesses == 4):
print "_________"
print "| |"
print "| O"
print "| \|/"
print "| |"
print "|"
print "|________"
elif (guesses == 5):
print "_________"
print "| |"
print "| O"
print "| \|/"
print "| |"
print "| / "
print "|________"
elif (guesses == 6):
print "_________"
print "| |"
print "| O"
print "| \|/"
print "| |"
print "| / \ "
print "|________"
print "\n"
3. Between guesses, clear screen and keep it clean , just guessed letters, and the scaffold.
4. Keep track of how many games have been played / won / lost and whether to play again or not.
While true :
do
X
else
break()
Can you please help ?
Thanks.
Hi! My name is Fernando Téllez. I am a senior year student of electrical engineering at Universidad Simón Bolívar (USB), one of the most prestigious universities in my country (Ranked 34° at the QS University Rankings: Latin America 2015).
I code using matlab/python ON A DAILY BASIS to solve any kind of engineering, logical, statistical and mathematical problem.
Hello.
Fast work, High quality, The Best result is promised.
I can do it in a day.
If you trust me, Thank you.
I look forward to having a great, successful and rewarding relationship with you.
Best regards.
Hey,
I am an experienced Python developer. I looked over your code and can provide the requested changes - faster loading, displaying hangman etc. Feel free to get in contact with me to discuss this further.
Kind regards,
Thorben
Hello! I am a master's student in the area of Computational Intelligence. My researches are developed in Python, Matlab, C and PHP, but my biggest experience is in Python, having 4 years of experience. I can help you with this, implementing recursive functions to best run of your script. I can make this for you, contact me. :D
Hola amigo yo puedo ayudarte con tu proyecto.
Tengo experiencia trabajando con python y estoy seguro que podemos hacer ese juego mas divertido saludos.
Hello. How is it going today?
After double-checked your posting carefully, I thought I am the best freelancer for this project.
I am a professional ✅ python ✅ Expert who has many experiences of more 7 years.
so I am very confident in your project. I am proud of 100% job completion, 100% on Time as you can see my reviews.
I have already been give 100% guaranteed satisfaction to many clients from my past experience about our task.
You will never be disappointed about me
I will try to satisfy your needs as much as possible.
I'm ready to start to work on your project right now. I have glad to meet you.
Hello, I have over 10 years experience of software development and 3 with Python.
I can provide a good implementation for you Hangman.
Best regards,
Nuno Bispo