https://github.com/kutyel/hangman
👾 A hangman CLI game made in Haskell!
https://github.com/kutyel/hangman
hangman hangman-console hangman-game haskell haskell-book haskell-game
Last synced: 7 months ago
JSON representation
👾 A hangman CLI game made in Haskell!
- Host: GitHub
- URL: https://github.com/kutyel/hangman
- Owner: kutyel
- License: bsd-3-clause
- Created: 2019-05-15T12:24:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-10T13:05:20.000Z (over 6 years ago)
- Last Synced: 2025-02-02T01:43:45.197Z (9 months ago)
- Topics: hangman, hangman-console, hangman-game, haskell, haskell-book, haskell-game
- Language: Haskell
- Homepage:
- Size: 728 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hangman
👾 A hangman CLI game made in Haskell!
```sh
$ 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! 🎉
```