hkennyv / wordle-slack-bot

A Slack bot for your local #wordle channel πŸ€–

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement some kind of weekly/monthly stat tracking system

hkennyv opened this issue Β· comments

Overview

As a data nerd, it would be awesome to be able to see some fun facts like:

  • who submitted the most wordles/week
  • what was the distribution of attempts (how many 1's, 2's, 3's, etc.)
  • average wordle guess
  • best wordle day (where average was lowest among all submissions)
  • worst wordle day (where average was highest among all submissions)
  • person w/ the lowest average guesses

Implementing this and some kind of persistent storage would open up the possibility to introduce other features like:

  • a #wordle stats site
  • accolades
  • longest streaks
  • data exporting
  • ...and more

Ideally, I'd like for the wordle bot to be a source of positive encouragement to celebrate small wordle wins for everyone, so any feature along those lines would be a good addition. Although these features need to be non-intrusive and implemented elegantly so as not to spam the #wordle channel or spam peoples' mentions. Some data collection on requested features from channel members could be good to survey interest

Implementation ideas

This feature doesn't necessarily have to be a part of the wordle bot JS code, we could easily implement this as a separate service and have it run on a separate schedule and in another language as well.

Likely we will have to re-organize the repo structure, probably to something similar to:

.
β”œβ”€β”€ LICENSE
β”œβ”€β”€ README.md
β”œβ”€β”€ wordle-daily-hook        <--- daily hook that posts wordle link + yesterday's best scores
β”œβ”€β”€ wordle-stats
       β”œβ”€β”€ wordle-stats-lib      <--- shared python lib for stats utilities?
       β”œβ”€β”€ wordle-monthly-stats  <--- monthly stats scripts/executables
       └── wordle-weekly-stats   <--- weekly stats scripts/executables 

TBD