Skip to content

Instantly share code, notes, and snippets.

View BradRubenstein's full-sized avatar

Brad Rubenstein BradRubenstein

View GitHub Profile
@BradRubenstein
BradRubenstein / wordle_optimizer.py
Last active January 19, 2022 20:35
cheat at wordle - a tool to pick the best next word
#!/usr/bin/env python3
# (c) 2021 Brad Rubenstein. License: CC-BY-SA 2.0 https://creativecommons.org/licenses/by-sa/2.0/
"""
Cheat at wordle, by calculating a probabilistically "optimal" next word.
SPOILERS, and really just spoiling a good game. (At least
I waited until I was over it).
"""

Keybase proof

I hereby claim:

  • I am bradrubenstein on github.
  • I am bradrubenstein (https://keybase.io/bradrubenstein) on keybase.
  • I have a public key whose fingerprint is 322A B221 5A4B 60B1 8E9D C2BD B93C 2298 C880 2736

To claim this, I am signing this object: