A python client library for word search in games like iMessage wordhunt and anagram.
Reason this release was yanked:
Outdated
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.dev3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddccc434d956902ce557440ef4f18e24d392012f25f8bf1bea1c5c11fd0b8280 |
|
MD5 | f093b9ed64a957e63644963995504a1a |
|
BLAKE2b-256 | a349a884596a83278ab5a6c7f8e58511b3859efe818031e1a614ef76d8c8d600 |
Close
Hashes for wordhunt_anagram_search_python-0.1.0.dev3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fe2dbb7e6ca176feefdccce2d76936293b122ac14adb2b7671d0ede19a406e5 |
|
MD5 | 1049d538cba804811e56f73d98be5637 |
|
BLAKE2b-256 | 776141f49bf6969c2943f10ac27b7c17c1758f899cf203e2f2ddcabcafd72d17 |