Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 1.1 KB

README.md

File metadata and controls

22 lines (15 loc) · 1.1 KB

🕹️ Hangman Game (C)

The Hangman Game is a classic word-guessing game implemented in C, where players try to guess a hidden word by suggesting letters within a limited number of attempts. The game allows users to select difficulty levels (Easy or Hard), and features dynamic word selection from a word list.


1. Key Features

  • Dynamic Word Selection: Words are randomly selected from an external file (words.txt).
  • Difficulty Levels: Players can choose between Easy (10 attempts) and Hard (5 attempts).
  • Command-Line Interface (CLI): A simple and interactive command-line interface to play the game.
  • Word Guessing: Players can guess letters one at a time, and the program reveals the correct letters or counts missed guesses.
  • Replay Functionality: Players can choose to play multiple rounds.

2. Technologies Used

  • C programming language: Core logic and implementation.
  • Standard libraries: For string manipulation, file handling, and randomization.
  • Text file (words.txt): Contains the list of words for random word selection during gameplay.