~/talk

Building a Wordle-solving tweet-bot in Scala

Talkat Scala Love 2022 · on Friday, 2022-02-18· [scala, game-development]
links:none on file
slides:none on file

A Wordle solver implemented in Scala that would have tweeted results but stops short of the tweeting step, built on the 2,300 common answers plus ~10,000 allowed guesses and reproducing Wordle’s leftmost-copy-wins feedback. Uses Scala 3 enums for letter states, encodes feedback in a byte with 243 feedback values, precomputes a precomputed feedback table for speed, and chooses guesses by trying every candidate and scoring by sum-of-squares to minimize expected candidate set. A naive first-choice player fails for ~58/2300 words; the one-step lookahead drops average candidate lists from 34 to ~10.6 or as low as ~2 for good guesses.

AI-written summary · about

  1. 0:00Introduction to Wordle solver
  2. 0:43How the solver differs from humans
  3. 2:07Finding possible Wordle answers
  4. 3:52Modeling letter feedback
  5. 7:23Implementing feedback logic
  6. 9:30Filtering possible words
  7. 12:50Defining a Wordle player
  8. 14:38Testing the basic player
  9. 17:05Choosing the next guess
  10. 24:13One-step ahead evaluation
  11. 27:25Demonstrating the advanced player
  12. 29:52Best possible guess and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.