Building a Twitch Chat Game in Rust part 1 - Twitch Live Stream

Subscribers:
950
Published on ● Video Link: https://www.youtube.com/watch?v=-92Y5a6wfAY



Duration: 57:36
215 views
10


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.







Tags:
Rust
Error Handling
Environment Variable
AWS
Live Stream
Code
GitHub
Rust programming
Live coding
Twitch profile
Code repository
Software development
Web development
nom
parsing
websockets
async
twitch
api
chat
game