catchemal / doddle Goto Github PK
View Code? Open in Web Editor NEWMake Wordle a Doddle
License: MIT License
Make Wordle a Doddle
License: MIT License
Currently, the implementation of DeepMinimax returns the best depth1
guess associated with worst depth 2
outcome. However, this will not work for depths of 3+. Suppose that at depth 3+, the solver realises it is essential to return some guess, Guess A, at depth 2 in order to avoid major problems. The depth 1 solver would have no idea that it needs to play Guess A because the knowledge learnt at depth three is not being conveyed back up the chain.
Deep entropy doesn't have this problem because it modifies the guess. This is probably an acceptable workaround although an alternative is that deep guesses have a list (of length n) corresponding to the worst outcome at each depth n.
The naming here is not good. is_common_word
is used throughout the code as an indication that the word is one of the the two thousand words that could ever be a solution.
However, the meaning within the code has changed over time and now indicates whether a word is still a potential solution. I.e. is it part of a list of words that shrinks with every iteration.
Proposal - at all but the highest levels, rename to is_potential_soln
.
The wordlebot leaderboard has a csv txt format for uploading your scores.
Currently the solve CLI is a litttle... sad.
All the analytics are there, so let's make the UX a bit more fun. Provide more words, associated metrics and the remaining list of potential solutions.
Hint: sorted(solver.all_guesses())
gives what we need.
Because max(...) is not enough when there is only a histogram of ones. Need to choose the histogram bucket that doesn't hold the guess!
RAISE
BLUDY
CHUMP
CHUCK
The introduction of a generic solver simplified the deep solvers materially. However, a few new errors have emerged (undetected for now) when running strict mypy. The engine must declare the generics associated with the solver.
Solution: make the solver covariant and fix the factory type annotations
Use a combination of Doddle's heuristic solvers and recursion to find the optimal tree.
Two ways this can occur:
Solve
Run
is impossibleA declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.