Coder Social home page Coder Social logo

wordle-solver's Introduction

wordle-solver

My attempt at solving wordle puzzles in HARD MODE using bayesian statistcs

If you're even lazier, check out https://github.com/lorossi/wordle-solution

italian words taken from: https://github.com/pietroppeter/wordle-it/blob/e490781af9ff34a0294e3c9da3a5c0941ab94a7b/wordle-it.js#L942-L943

Performance

ITA after "curated dictionary: average 3.6781 after curated

profile  = [1, 122, 554, 588, 209, 42, 6]
avg = profile*[1:7]'/sum(profile)
bar(profile)
title("Wordle solver guess attempts in ITA after 'curated dict' (7=not solved)")

ita-curated-bars

ITA: average 3.8984 guesses before curated

profile  = [1, 158, 804, 917, 442, 138,50];
avg = profile*[1:7]'/sum(profile)
bar(profile)
title("Wordle solver guess attempts in ITA (7=not solved)")

ita-bars

ENG: average 3.7460 guesses

profile  = [1, 146, 821, 926, 336, 63,22];
avg = profile*[1:7]'/sum(profile)
bar(profile)
title("Wordle solver guess attempts in ENG (7=not solved)")

eng-bars

Notes for myself of the future

To run the profiler, run:

python -m cProfile -s tottime myscript.py

wordle-solver's People

Contributors

valerionew avatar

Stargazers

 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.