Author Topic: How do the "type in chat to control the game" livestreams work?  (Read 219 times)

0 Members, Big Brother and 1 Guest are viewing this topic.

Offline Petzbreeder

  • Also known as Brally
  • Joeno Fan
  • *****
  • Posts: 1006
  • Gender: Female
  • I play my games in French sometimes.
    • View Profile
I occasionally watch Pokemon livestreams on Youtube and Twitch, where the viewers can affect the game by typing the controls in the chat window.

How does that work?


We should trade and breed Pokémon again.

Offline Del

  • it's ya boy
  • Mulholland Fan
  • *****
  • Posts: 489
  • Gender: Male
  • 대단해
    • View Profile
So typically the person running the stream will have created a bot that runs locally, connected to the game/emulator being run that reads chat and looks for specific inputs words or letter (for example "a" or "start" or "up"), and every time it reads "a", it will send the input that activates the "A" button on the game/emulator being used.

The same applies for other inputs. "start" = start button, "up" = up arrow, etc.
My mom bought me this new laptop and it gets really hot when the chat is being spammed. Now my leg is starting to hurt because it is getting so hot. Please, if you don't want me to get burned, then don't spam the chat.
¯\_(ツ)_/¯

Offline Petzbreeder

  • Also known as Brally
  • Joeno Fan
  • *****
  • Posts: 1006
  • Gender: Female
  • I play my games in French sometimes.
    • View Profile
That is pretty cool.

I wonder if it is possible to make a program/bot that plays and completes the Pokemon games by itself!
Now, that would be pretty cool!


We should trade and breed Pokémon again.

Offline Del

  • it's ya boy
  • Mulholland Fan
  • *****
  • Posts: 489
  • Gender: Male
  • 대단해
    • View Profile
I think theoretically it's possible, but I'm not sure.

There's a pretty interesting video about machine learning teaching a program to beat a level of Super Mario, but there are much simpler win and lose conditions in a game like Mario than in Pokemon.

It could probably be done in a few years though.
My mom bought me this new laptop and it gets really hot when the chat is being spammed. Now my leg is starting to hurt because it is getting so hot. Please, if you don't want me to get burned, then don't spam the chat.
¯\_(ツ)_/¯