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.git
If you use https, use this instead
git clone https://github.com/Mohsen-mhm/hangman.git
If 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.example
and 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.py
file
cd hangman/
python ./main.py
or
python3 ./main.py