An open API service indexing awesome lists of open source software.

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

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']
```

![Screenshot](pic/screenshot.png)

~~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/)