A python client library for word search in games like iMessage wordhunt and anagram.
Reason this release was yanked:
readme fix and final Bug fix
Project description
WordHuntAnagram
Play iMessage Anagram and wordhunt or any search word game using this module
.
Example
`
from wordhuntanagram.wordhunt import WordHunt
word = WordHunt(4, 4, args='yiuonhjnhffhggdb')
word.hunt()
print(word.words)
`
`
from wordhuntanagram.anagram import Anagram
anagram = Anagram(6, args='ioijbf')
anagram.hunt()
print(anagram.words)
`
Note that you have to be quick in doing all this. Its advisable to use a while loop.
`
run = True
while run:
type_ = input("Choose type: (wordhunt-w/anagram-a)")
if type_ == 'w' or type_ == 'wordhunt':
word = WordHunt(4, 4)
word.hunt()
for item in word.words:
print(item, '', word.words[item])
elif type_ == 'a' or type_ == 'anagram':
anagram = Anagram(6)
anagram.hunt()
for item in word.words:
print(item, '', word.words[item])
else:
print("Input valid type")
continuation = input("Press y to continue, any key to exit")
if continuation != 'y':
run = False
else:
### you can clear the terminal here
pass
`
Enjoy!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for wordhunt-anagram-search-python-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbb5e82371f3998055e07aff19f0ddf1ce350719cb45caff335647efad845e54 |
|
MD5 | a851186c8771e648261b588f201234da |
|
BLAKE2b-256 | ed38a5c35071fc2e6b11104f988ace8e3eadf6917a771b5485ecc0cd14642b9e |
Close
Hashes for wordhunt_anagram_search_python-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08c8ac3ea0248edbd2722363caebe17a9daa83b27c0ce174c2f0ebf83d5ccce7 |
|
MD5 | 2acb85054ab48c7a1ddbddab4017f337 |
|
BLAKE2b-256 | 89c9559003659f0784ad61b5b2c55dafb0076af207677dedd973f6e43a9b4884 |