👾 A hangman CLI game made in Haskell!
$ stack exec hangman
Current puzzle is: _ _ _ _ _ _ _ _ Guessed so far:
Guess a letter:
a
Your guess was: a
This character wasn't in the word, try again.
Current puzzle is: _ _ _ _ _ _ _ _ Guessed so far: a
Guess a letter:
b
Your guess was: b
This character wasn't in the word, try again.
Current puzzle is: _ _ _ _ _ _ _ _ Guessed so far: ba
Guess a letter:
c
Your guess was: c
This character was in the word, filling in the word accordingly
Current puzzle is: _ _ _ c _ _ _ _ Guessed so far: cba
Guess a letter:
e
Your guess was: e
This character was in the word, filling in the word accordingly
Current puzzle is: _ _ _ c e _ _ _ Guessed so far: ecba
Guess a letter:
i
Your guess was: i
This character was in the word, filling in the word accordingly
Current puzzle is: _ _ i c e _ _ _ Guessed so far: iecba
Guess a letter:
o
Your guess was: o
This character wasn't in the word, try again.
Current puzzle is: _ _ i c e _ _ _ Guessed so far: oiecba
Guess a letter:
u
Your guess was: u
This character was in the word, filling in the word accordingly
Current puzzle is: _ _ i c e _ u _ Guessed so far: uoiecba
Guess a letter:
s
Your guess was: s
This character was in the word, filling in the word accordingly
Current puzzle is: s _ i c e _ u _ Guessed so far: suoiecba
Guess a letter:
l
Your guess was: l
This character was in the word, filling in the word accordingly
Current puzzle is: s _ i c e _ u l Guessed so far: lsuoiecba
Guess a letter:
f
Your guess was: f
This character was in the word, filling in the word accordingly
Current puzzle is: s _ i c e f u l Guessed so far: flsuoiecba
Guess a letter:
h
Your guess was: h
This character wasn't in the word, try again.
Current puzzle is: s _ i c e f u l Guessed so far: hflsuoiecba
Guess a letter:
k
Your guess was: k
This character wasn't in the word, try again.
Current puzzle is: s _ i c e f u l Guessed so far: khflsuoiecba
Guess a letter:
t
Your guess was: t
This character wasn't in the word, try again.
Current puzzle is: s _ i c e f u l Guessed so far: tkhflsuoiecba
Guess a letter:
p
Your guess was: p
This character was in the word, filling in the word accordingly
You win! 🎉