Building a Twitch Chat Game in Rust part 1 - Twitch Live Stream
In this new series, we start to build a Twitch chat game live.
The idea is to be able to interact with the chat, ask question,s and receive answers from the chat. We have some ideas on the actual interactions but for today we only focused on getting the basics working: being able to connect to the Twitch Chat API and start to receive messages.
Our current implementation is only partially complete, but we made good progress in setting up a WebSocket connection, sending the authentication messages, joining the channel, and receiving messages. We also have started to write the necessary code to parse the messages (using the nom crate - https://crates.io/crates/nom).
All the code is available on GitHub: https://github.com/lmammino/twitch-chat-bot
For more live streams, check out our Twitch profile at https://twitch.tv/loige.