Aryadle is a version of the famous Wordle word-guessing game, but with 6-letter words, and 6 attempts to guess said word. It's made with Ruby on Rails 7 utilizing the Hotwired "HTML over the wire" development framework: Turbo and Stimulus.
I pre-populated a list of all the 6-letter words I could find, then had the app randomly choose 365 words, 1 new word to guess per day. Stimulus manages both the backend "Word Library," and the frontend gaming itself.
I also use browser cookies to allow the gameplay to be saved should the player to leave and come back and play.