https://github.com/hevalhazalkurt/hangmanpy
A classic hangman game developed in Python that gets random word from WordsAPI.
https://github.com/hevalhazalkurt/hangmanpy
api game hangman hangman-game python python3 rapidapi vocabulary word words wordsapi
Last synced: 2 months ago
JSON representation
A classic hangman game developed in Python that gets random word from WordsAPI.
- Host: GitHub
- URL: https://github.com/hevalhazalkurt/hangmanpy
- Owner: hevalhazalkurt
- Created: 2018-11-13T17:44:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-25T17:07:53.000Z (over 5 years ago)
- Last Synced: 2025-01-21T06:10:58.217Z (4 months ago)
- Topics: api, game, hangman, hangman-game, python, python3, rapidapi, vocabulary, word, words, wordsapi
- Language: Python
- Homepage:
- Size: 2.46 MB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HangmanPy
In this little project I developed a classic game called hangman in Python.The game has two version :
1. **Hangman** : `hangman.py` - This version getting the word from local `.txt` The words in the `words.txt` document were taken from a database of 5000 words, which are the most commonly used in English, and the words such as the adverbs, prepositions, and conjunctions were eliminated.2. **Hangman Pro** : `hangmanpro.py` - This version getting the word from [WordsAPI](https://www.wordsapi.com/) randomly and little bit more hard to solve. To use that version you need to subscribe [WordsAPI](https://www.wordsapi.com/) and replace your API key into `'x-rapidapi-key': "YOUR_API_KEY"` section. The API isn't completely free but gives 2,500 requests per day in its free plan.
You can play the local version of game online on [Repl.it](https://repl.it/@hevalhazalkurt/HangmanPy).

It's just for fun so have fun! :)