Git Product home page Git Product logo

wordle's Introduction

wordle

wordle remaining words, best guesses, and optimization

python jupyter notebook with some scratch functions to analyze wordle... get possible words matching a given pattern pick best next guess determine best initial guess

basic idea is to try every legal word and consider every remaining possible answer, and group/count by the resulting pattern (green/yellow/gray combo). For optimization, find the guess that minimizes the weighted average number of answers under each resulting pattern

conclusion: using the list of possible answers and legal words from NY Times' version of wordle (available in plaintext on page source), the best initial guess is 'ROATE' (alternate spelling of 'rote' apparently). It minimizes the expected number of remaining possibilities after 1 and 2 rounds, and holds whether considering all legal words or only the NY Times answer words

wordle's People

Contributors

mgrigola avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.