Decided to learn about receiving input from the standard input, and thought Hangman would be a great way of doing so.
Run the following commands:
make
./play-hangman
How to play my program:
- Player 1 types a lowercase alphabetical word as the secret, and hits 'enter'.
- Player 2 then takes turns, either guessing one letter at a time, attempting to complete the word
- If the player completes the word before losing all their lives, they WIN! Otherwise, game over :'(
- Add output of letters player has already guessed
- Add ascii art of hangman
ENJOY :)