https://github.com/fredwangwang/solve-word-cookies
A simple "hack" to the game Word Cookies
https://github.com/fredwangwang/solve-word-cookies
Last synced: about 1 year ago
JSON representation
A simple "hack" to the game Word Cookies
- Host: GitHub
- URL: https://github.com/fredwangwang/solve-word-cookies
- Owner: fredwangwang
- License: mit
- Created: 2018-05-20T17:55:47.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-21T03:22:47.000Z (about 8 years ago)
- Last Synced: 2025-02-05T05:22:51.927Z (over 1 year ago)
- Language: Python
- Size: 3.17 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Solve `Word Cookies`
A simple "hack" to the game Word Cookies.
I found myself struggling with the game (see a screenshot below), figured I need some sort of help... So I made this one.
## Dependencies
* Python (both 2 & 3 tested, 3 is recommanded due to better pickle implementation)
## Sample usage:
```
# create a word mapping (only required once):
python3 create_mapping.py words-eng-common.txt
# find the words
python3 test_words.py roanyc 5
# sample output:
# ['acorn', 'carny', 'corny', 'crony', 'narco', 'rayon']
```

~~Well, I realized I ruined the game~~
## Credit
* words-complete.txt from [dwyl/english-words](https://github.com/dwyl/english-words)
* words-eng-common.txt from [www-01.sil.org](http://www-01.sil.org/linguistics/wordlists/english/)