Bratanov / community-driven-radio

A radio station driven by the community
10 stars 1 forks source link

Feature / Wordio #55

Open Bratanov opened 2 years ago

Bratanov commented 2 years ago

Wordio is a brand new, never before seen, innovative, entirely original, word guessing game. You have to correctly guess the 6 letter word, you have 8 tries (unless you refresh the page, then you get 8 more :troll:) and everyone guesses the same word every day (or at least at every server restart, since we currently leverage the fact that heroku kills the app after inactivity).

We have a list of 7943 unique 6 letter words, which by default is used for the word and daily lists, but can be customized through an env variable. Number of guesses and the word length are also configurable, although the frontend currently expects the word length to be 6.

Speaking of the frontend, we have a shiny, new and exciting UI for this new functionality, behold it's full glory:

image

It supports typing a word in an input, submitting it through clicking a button, and even rendering the results on the screen! We also have a new system message capability, which would notify the chat if someone guesses the Wordio correctly.

Oh, and we've also added dependency injection for the backend components with node-dependency-injection, not quite there yet, but it's a progress in a direction I suppose.

Note: This functionality branches on top of Kiro#54.

Additional things included in this PR:

Todo: