Skip to content

cimutianxin/Wordle-Simu-by-Info-Theory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wordle Simulation by Infomation Theory

Wordle, Infomation Theory, Information Entropy, Python

wordle, is a game that you guess a 5-letter word by the hint.

Try to simulate the wordle game and find out the best way to guess, inspired by 3Blue1Brown's video.

  • Solution_0: use word has the highest E_info to guess every time.
  • Use short word list to generate the ANSWER and guess in the short word list, too.
  • The 1000-time-simulation shows that 'saner', which has highest E_info, is not the best choice(3.78 on aver). 'slate' gets 3.07 score, which is better.
  • Haven't use the long word list to guess and calculate the E_info again at every guess. (I tried but it's too slow)
  • Haven't use the frequency word list to calculate weighted information entropy. (I think it's a cheat in some way)

About

simulate the wordle game and find out the best way to guess

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published