A python client library for word search in games like iMessage wordhunt and anagram.
Reason this release was yanked:
Bugs
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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5747ed3c28d1822da6e83762cb9f5529cc2d756dc9ed4a68e61d30abfab20804 |
|
MD5 | f3b255384eebe9bd8996f6b3358454d2 |
|
BLAKE2b-256 | 2212fd09b68c3cdd5e7f24ac1c8fbc3d42d6358e4dd64c1ef6acb7a17fde1d17 |
Close
Hashes for wordhunt_anagram_search_python-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9614237d560d9e18973fd20dcfe5ee5145cb443094084f7a1773882e29ce1ba3 |
|
MD5 | 39022e9bedc32d001695e2f4d45a099d |
|
BLAKE2b-256 | dc2e668dd35f29198551e2511cd70c4970809b31bb3b19c5443ad78db855e5b2 |