Hangman is a game where players needs to guess a word in a given number of trials (before the man is hung)!
Clone or download the repository.
$ git clone https://github.com/tanlitung/C-Hangman.git
$ cd C-Hangman
- There are a few line of code need to be changed before you can use the code (stated at the top part of "main.c" file).
- This project uses gfx for interfacing, best resolution on Ubuntu.
- You can change the words to be guessed in the "word.txt" file.
- The "data.txt" files is used to store all the historical points.
- "gfx_mod.c" is a modified version of the original gfx library (retrieved from "https://www3.nd.edu/~dthain/courses/cse20211/fall2013/gfx/").
Credit to: "https://www3.nd.edu/~dthain/courses/cse20211/fall2013/gfx/" for the gfx library.
The gfx library runs on Linux machines using the X11 Window System. (You may be able to run it on a Mac, but it won't work on Windows.)
