Skip to content

Latest commit

 

History

History
42 lines (37 loc) · 896 Bytes

README.md

File metadata and controls

42 lines (37 loc) · 896 Bytes

Playing Manually

from solver import Game
game = Game()
game.add_turn([
    ("n", "position"),
    ("o", "wrong"),
    ("t", "position"),
    ("e", "wrong"),
    ("s", "wrong"),
])
game.add_turn([
    ("a", "position"),
    ("c", "wrong"),
    ("r", "wrong"),
    ("i", "wrong"),
    ("d", "wrong"),
])
game.possible_words
game.add_turn([
    ("p", "right"),
    ("a", "position"),
    ("n", "position"),
    ("t", "position"),
    ("y", "wrong"),
])

Evaluate Current Strategy

python evaluate_strategy.py

Results on Wordle Official List

first second shared unique score
cones trial aeinorst cl 4.710
roate linds aeinorst dl 4.732
notes acrid aeinorst cd 4.749
resin loath aeinorst hl 4.773
random random 5.218