/chuton

My own Wordle inspired game for Portuguese words, written in vanilla Javascript as a refactoring playground.

Primary LanguageJavaScriptMIT LicenseMIT

Chut On

My own Wordle inspired game for Portuguese words, written in vanilla Javascript as a refactoring playground.

Play it online: https://rafaelodon.github.io/chuton/

ALERT: you'll find very bad under-construction code here (and very very very bad CSS too)

The dictionary with more than 11k words is available at js/words.json, consisting of an object whose fields are:

  • selected: an array of 1k popular 5-letter words to be used as solutions
  • index: a valid-5-letter-words map consisting of the non-accentuated version of a word as key, and an array with all its variations as value (i.e. { "tobas" : ["tobas","tobás"] })

Credits:

The scraping strategy is at util/scrape.py.