-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
16 lines (13 loc) · 886 Bytes
/
Copy pathREADME
File metadata and controls
16 lines (13 loc) · 886 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
wwfdq --
words with friends done quick
A collection of tools (functions) for playing words with friends (scrabble).
Functions:
is_word - Returns if a word is valid.
valid_words - Returns a list of all valid words for a set of characters.
valid_words_prefix - Same as valid_words but uses a prefix that must be the first part of the word.
valid_words_suffix - Same as valid_words but uses a suffix that must be the last part of the word.
valid_words_prefix_and_suffix - Same as valid_words but uses both a prefix and a suffix that must be part of the word.
words_score - Returns the same as valid_words but also with a scoring for each word. Sorted with highest score first.
words_score_prefix - See valid_words_prefix and words_score.
words_score_suffix - See valid_words_suffix and words_score.
words_score_prefix_and_suffix - See valid_words_prefix_and_suffix and words_score.