Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 742 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 742 Bytes

Hangman in C

Decided to learn about receiving input from the standard input, and thought Hangman would be a great way of doing so.

Compiling the program

Run the following commands:

make

./play-hangman

Gameplay

How to play my program:

  1. Player 1 types a lowercase alphabetical word as the secret, and hits 'enter'.
  2. Player 2 then takes turns, either guessing one letter at a time, attempting to complete the word
  3. If the player completes the word before losing all their lives, they WIN! Otherwise, game over :'(

Plans for project

  • Add output of letters player has already guessed
  • Add ascii art of hangman

ENJOY :)