added hangman ascii graphics - #96
Conversation
|
Codeclimate issue is number of lines in a method. Creating the figures would require some lines unless I use \n to draw the figures on a single line. |
aa36f96 to
bcd381c
Compare
| '''_____\n|/\n| O\n| /|\\\n| / \\\n|''', | ||
| '''_____\n|/\n| O\n| /|\\\n| /\n|''', | ||
| '''_____\n|/\n| O\n| /|\\\n|\n|''', | ||
| '''_____\n|/\n| O\n| /|\n|\n|''', |
There was a problem hiding this comment.
I didn't understand this part,
could you explain what this part does?
There was a problem hiding this comment.
It is a list of hangman figures: see this commit - e40863b
Codeclimate marked this as an issue because the function length was 45 lines (<=25 lines guideline for good code). So, I modified to make it within limit.
prateekiiest
left a comment
There was a problem hiding this comment.
I guess its only declaration of the functions.
It does not show anything on output.
Write something using them under main and give some output.
|
I guess you can give an output as a gif |
|
any updates @imVivekGupta ? |
|
@prateekiiest I didn’t get you. In the game, whenever the player makes a wrong guess, a little portion of the hangman gets completed. How will a gif work in this case? |
|
Ok, I understand that. I am merging this now. I will see if I can work out with it. Thanks for the contribution 🥇 |
|
Yes! I would be happy to work on your suggestions:) |

ISSUE NUMBER
#95
SHORT DESCRIPTION
Added the ascii figures
TESTING
Play the game by running
python code.pyinside Hangman directory.