This week's entry is a little bit of a cop out. It's something I built very quickly over the holidays to do with Family but I never really published anywhere. It's a bilingual version of the letters round of the British game show https://en.wikipedia.org/wiki/Countdown_(game_show)#Letters_round>Countdown. I've been busier with work than anticipated, so my leisure building time has been cut pretty dramatically. That's alright, though! The tradeoff is worth it right now.
Half of my family is francophone, and the other half is anglophone. It's not the most important thing that the game is bilingual—after all it's just finding words within letters—but it felt weird not making sure the the 9 letters given could also be made into a french word.
To do this, I took 2 word dictionaries I found online and smashed them together and added a 50/50 chance that you'd get a french or an english word. Both languages would count for points during a round, but when you clicked "reveal answer" it would indicate which language the word came from. I figured it would help everybody learn some more esoteric words in either language! It doesn't really have any bearing on the game other than that.
You can access the game here: https://countdown.alexcaza.com
You can see the source code here: https://github.com/alexcaza/countdown-ui
The game was built using Svelte Kit, which was fun to use and shows a lot of promise! Though, I don't think I'll be using it in a production environment anytime soon. The API is still a work in progress, and SSR still seems like a hack compared to using something like Rails. The speed and stability you get from Rails is yet to be rivaled. Even though I've chosen front-end development as my specialty, I can't champion the idea of SSR yet. But, that's a topic for another time.