Skip to content

Al-RaoushBasel/Hangman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🕹️ 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages