Live multiplayer Crossword on Twitch, Facebook and Youtube live
My last project seemed to work out pretty well. I am still working on the monitoring and making sure every piece fits and is robust.
Bottomline is I could stream my "2022 Year Progressbar" for 20 hours reliably to both twitch and youtube live at the same time.
This inspired me to take a closer look at how Twitch and Youtube live function especially the protocols and the API design. Cool stuff. One thing interested me still a bit more: the live chat.
It would be great to join the live chat with the video that I am producing programmatically for some interactive content, an interactive show so to say. So I went digging into the documentation and had a look at how to get access to the chats. Surprisingly it is quite trivial.
I decided to use libraries, pytchat for Youtube live and PythonTwitchBotFramework (amazing documentation on this one) to instantly got access to the chat for both platforms.
Once that was done, I worked on building a crossword app that is adressable from the chat events. And it also worked quite well:
I am working now to embedd the videos and have some real players test it, but as you see my chat is really empty and there is nobody really interacting. I have to figure out where to get players.
Once enough players participate I have a plan for something really fun that can be done with this.
If you want to participate let me know on https://twitter.com/KarimJDDA :)
Cheers and stay healthy,