Please enable JavaScript.
Coggle requires JavaScript to display documents.
hangman (player 1 (get random word form the var (make the number for…
hangman
player 1
get random word form the var
make the number for dashes for each letter in the word
ask user for a letter
make more letters for the word in the var
make more letters if needed for the word and show lives left
if player guesses a letter
if player already used letter say you already used this letter
lose one life and remeber the letter used
if letter is wrong add a mistake to the hangman
if pleyer runs out of lives
end game
get rid of 1 life
if player inputs the correct fill the empty dash with the letter
if no more letters needed
store the letter guessed by the player
mechanics
desiccation
system
storinig
if word is complete