HangMan is an interactive real world game. The game chooses an entirely random word,and the user tries to guess it by suggesting letters untill the hangman figure is completed.
GUI | CLI |
---|---|
RULES
- Number of Dashes represent the length of the word.
- At each correct guess the letter is placed at its original position in the word.
- User loses if the HangMan is completed.
pygame
rich
nltk
Use pip install -r requirements.txt
to install the modules automatically.
Currently the program is not packaged into exe or any other format, so you have to run the python file directly.
New contributers can implement packaging the game into an executable.
Recent Releases contain executable file for Linux.
-
Run the executable.
- You can download the latest executable file from releases
- Make the file executable
sudo chmod +x filename
- Run the file
./filename
-
Run with python interpreter.
- Install requisite modules(see modules section).
- Navigate to either GUI/CLI folder and run
python3 hangman.py
Dude use Linux 😉
- There is no exe file for windows users. 🤐: (PRs Welcome)
- Just replace python3 with python in the above steps.
It is back again the time of the year to celebrate Hacktoberfest. This repository contains coding exercises that you can easily solve with basic knowledge in programming.
Every year in October, an open source event called Hacktoberfest inspires individuals all over the world to actively engage in and contribute to open source projects that are hosted on GitHub and GitLab. By taking part in this event, you may receive a free GitHub swag pack. You must submit 4 pull requests in order to receive that awesome swag pack.
- Complete the registartion over https://hacktoberfest.com/
- Rule are - https://hacktoberfest.com/participation/
- Fork this repository.
- The copy of main repository is on your PC/Desktop .
Enjoy Hacking. All the best.
We welcome any contribution big/small, but do note that we are against plagiarism and low code quality.
For instance, avoid submitting a PR fixing a issue with spacing or a minor change, this hampers the spirit of hacktoberfest.
Take a look through some of our issues you can resolve, or create your own issue https://github.com/anantdark/hangman/issues