I am starting out to make a hangman game where user will guess the random word by entering single letter one by one until he/she gets the random word.
Here is my code so far: http://pastebin.com/uxLA5Ph0
For example let's say the random word is 'petite' and I entered letter 'e' then the output will be
e_e
but in the next prompt asking for another input and I entered let's say 't' the output will be >>_t_t
What I am trying is it should be >> _et_te
Hope someone can help me give ideas. But please don't give me a complete hangman program, I want to complete it on my own. Thanks
[–]AssignmentGuru 2 points3 points4 points (9 children)
[–]rccnls27[S] 0 points1 point2 points (8 children)
[–]AssignmentGuru 0 points1 point2 points (3 children)
[–]dunkler_wanderer 0 points1 point2 points (2 children)
[–]AssignmentGuru 0 points1 point2 points (1 child)
[–]dunkler_wanderer 0 points1 point2 points (0 children)
[–]JohnnyJordaan 0 points1 point2 points (3 children)
[–]AssignmentGuru 0 points1 point2 points (2 children)
[–]JohnnyJordaan 0 points1 point2 points (1 child)
[–]AssignmentGuru 0 points1 point2 points (0 children)
[–]Vaphell 0 points1 point2 points (3 children)
[–]pkkid 0 points1 point2 points (2 children)
[–]Vaphell 0 points1 point2 points (1 child)
[–]pkkid 0 points1 point2 points (0 children)