Hey Dev community! π
I recently took on a fun side project to learn more about APIs. I built a 24/7 interactive Geography Flag Battle game that is completely controlled by the YouTube Live Chat API.
The Expectation vs. Reality π
I spent days coding the logic, fixing bugs, and setting up the live stream. I was so excited to launch it and see people typing country names in the chat.
The Technical Hurdle π οΈ
The core mechanic uses the YouTube Live Chat API to fetch messages in real-time and update a visual leaderboard. My biggest worry during development was handling concurrent inputsβwhat happens if 10 people type at the exact same second?
I wrote a queue system to handle the inputs without crashing the UI. But because nobody is watching, I have absolutely no idea if my logic actually works under pressure!
My Ask for Help π
If any of you have a spare minute, could you please check the project out and drop into the live stream to spam a few country names in the chat?
π΄ [https://www.youtube.com/watch?v=c8KyBlpw8Ss]
I really need to see if the bot breaks, lags, or crashes when multiple people interact with it. If you manage to break it, please let me know in the comments here!
If you have any feedback on working with the YouTube API, or just general advice for a solo dev struggling to get those first few users, I am all ears. Thank you so much for reading! β€οΈ
Top comments (0)