Skip to content

shaneafsar/wordlescorer

Repository files navigation

wordlescorer

Intro

This node script runs and watches a specific bot account and replies to anyone who asks with a score of their wordle output. The more characters that are solved earlier in the puzzle, the more points you get!

The bot currently runs on Mastodon and Bluesky. RIP Twitter

Features

  • At-mention @ScoreMyWordle in your tweet with a Wordle output (or in a reply), and it'll tweet back a response with a score. (Note: limited support in Communities, you will be quote-tweeted).
  • Supports reading the default square emoji wordle output (including the high contrast version of the emojis)
  • Supports reading wa11y.co alt text on wordle images if there's no default wordle square emoji output
  • Tweets out the top Wordler of the day ranked by score, row solved, then tweet time.
  • Tweets out top global stats for the day using the two most popular Wordle numbers.

Future ideas

Features

  • Improve parsing acessibility text on images that leveraged wa11y.co (any others parsers out there?).
  • Provide a score or unique message for interesting pattern results.
  • Static website to paste results without needing to tweet.
  • More & varied compliments! (Perhaps via OpenAI?)

Infra

  • Refactor DBs into typescript
  • Pull out the scoring mechanism so that it can be used independently (e.g. for a static website, bots on other services)

Special thanks