Skip to content

Instantly share code, notes, and snippets.

@mikekavouras
Created June 14, 2015 16:43
Show Gist options
  • Save mikekavouras/1e50a27db8c13bc33cfa to your computer and use it in GitHub Desktop.
Save mikekavouras/1e50a27db8c13bc33cfa to your computer and use it in GitHub Desktop.
Let's Play Hangman!
I'm thinking of a word. Can you guess it?
select a letter: a
Sorry, wrong letter
_ _ _ _ _ _
select a letter: h
h _ _ _ _ _
select a letter: i
Sorry, wrong letter
h _ _ _ _ _
select a letter: s
h _ _ _ _ s
select a letter: h
h _ _ _ _ s
select a letter: m
h _ m m _ s
select a letter: u
<<< h u m m u s >>>
CONGRATS YOU WON!!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment