Skip to content

Instantly share code, notes, and snippets.

# solver for the game Word Play: https://store.steampowered.com/app/3586660/Word_Play/
# i don't have access to the full wordlist that the game uses by default (and it changes frequently as players can petition for new words to be included), but it's a modified version of https://github.com/wordnik/wordlist/blob/main/wordlist-20210729.txt, which should work in the vast majority of cases
# please use this responsibly! also, there may be additional modifiers i am not aware of
from copy import copy
import math
import re
while True:
try: