A simple Hangman Game implemented in C language.
The player tries to guess the secret word by entering letters or guessing the full word. Each wrong guess draws a part of the hangman until the player runs out of tries.
- Terminal-based Hangman drawing.
- Guess by letter or by full word.
- Case-insensitive input (e.g.,
A=a). - Clear screen between rounds for a better experience.
- Works on both Linux and Windows (with minor adjustments).
- Player 1 enters the secret word.
- The screen is cleared so Player 2 can start guessing.
- Player 2:
- Enters one letter at a time to try revealing the word.
- Or tries to guess the whole word.
- For each wrong guess, a part of the hangman is drawn.
- The game ends when:
- The player guesses the word, or
- The hangman drawing is completed (0 tries left).