This is Hangman game using python
- Clone the project repository by running the command below if you use SSH
git clone git@github.com:Mohsen-mhm/hangman.gitIf you use https, use this instead
git clone https://github.com/Mohsen-mhm/hangman.gitIf you don't want to use the Word API list, you can skip this section (there is a built-in list that has some words).
- Subscribe to this API and get your API key here:
- rapidapi.com/a-randomizer-data-api
- Duplicate
.env.exampleand name it.env. - Then you need to add your API key to the ".env" file.
- Make sure you have Python installed on your system !
python --version
or
python3 --version- Then go to project directory and run the
main.pyfile
cd hangman/python ./main.py
or
python3 ./main.py