A Class that plays wordle optimally

A Class that plays wordle optimally

if you want to play wordle optimally, first you need to setup the database.

Run:

‘)

player.get_top_words(10) # get the top 10 most likely words

“””
After you get a response from wordle, add rejected chars as:
“””

player.add_negatives([‘a’, ‘b’, ‘c’])
player.add_negative(‘a1’) # a1 was yello colored in wordle

“””
Add yellow chars as:
“””

player.add_positives([‘d’,

 

 

 

To finish reading, please visit source site