This is a simple Hangman game written in C. Players can choose from different categories and try to guess the word by entering letters.
- Fruits
- Animals
- Countries
- Objects
- A C compiler (such as GCC)
- A Windows environment (for
windows.h
)
-
Clone the repository:
git clone <repository-url> cd <repository-directory>
-
Compile the code:
gcc -o hangman hangman.c
-
Run the executable:
./hangman
After running the executable, you will be prompted to choose a category and then start guessing letters to find the word.