GithubHelp home page GithubHelp logo

roget's Introduction

codecov

Original version live-coded on YouTube.

The implemented algorithm is almost exactly what was outlined (and very well explained) in this 3blue1brown video.

Please do tinker with it and see how much you can push it โ€” there's almost certainly gains to be had! I've also left some TODOs from the 3b1b algorithm that should improve the guesses a fair bit. It'd also be really neat to add in a mode for computing the first word by computing multiple levels of expected information (again, like 3b1b), instead of just hard-coding it like we do at the moment.

Dataset

If you want to remake dictionary.txt yourself, first, make corpus/wordle.txt by grabbing the words from the Wordle source code (that's also how you get answers.txt). Then, grab the ngram dataset by downloading these. Then run:

cd corpus
cargo r --release /path/to/1-*-of-00024.gz | tee ../dictionary.txt

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

roget's People

Contributors

jonhoo avatar cjcormier avatar albertlarsan68 avatar juntuu avatar clemenswasser avatar bastidood avatar jhinch avatar ritobanrc avatar yukosgiti avatar ironhaven avatar

Watchers

 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.