Skip to content
Sign upLog in
← Back to Community

Hangman Game!

Profile icon
PythonPig

I made this game for when you're bored! Hope you enjoy!

Voters
Profile icon
PythonPig
Profile icon
DevMathur1
Comments
hotnewtop
Profile icon
DillonB07

Good project. I have a few suggestions:

  1. Use the clear() python command. This isn't a normal command, it is just on Replit.
  2. Instead of making the user type a lowercase letter, use the .lower() method. You can do this on your line 17 by changing it from this:
guess=(input("Guess a lowercase letter"))

to this:

guess=input("Guess a lowercase letter").lower()
  1. Fix the bug that makes it draw another part of the hangman if you guess correctly.
Profile icon
PythonPig

@DillonB07

Thanks for this, I will make this change.

Profile icon
PythonPig

Hope this works now!