There are lots of different Games that use Twitch as an interaction method between viewers and streamers. In this article there are 4 examples of this technique, sorted by complexity of integration.
Warhammer Vermintide 2
Gameplay: First-person coop shooter
Interaction: The twitch chat has certain operators to choose from with commands in the chat. They can ether give the player items that are helpful or spawn more and more enemies. Ether the make the gameplay easier or harder.
© GeneralMcBadass
Sources:
https://vermintide2.fandom.com/wiki/Twitch_Mode
https://www.youtube.com/watch?v=S-WiS3U4S2s
Dead Cells
Gameplay: 2D platformer, roguelike inspired by Metroidvania-style games.
Interaction: „Captain Chicken“ -> one viewer can decide when to heal the streamer and send messages in game, visible for all viewers. Furthermore, the rest of the chat can vote for specific upgrades for the streamers character.
© Jeff Grubbs Game Mess on YouTube
https://venturebeat.com/2018/08/07/dead-cells-twitch-integration-is-great/
https://play.google.com/store/apps/details?id=com.playdigious.deadcells.mobile&hl=en&gl=US
One Troll Army
Gameplay: Tower Defense, with a playable character controllable like a MOBA Game.
Interaction: Everybody in the chat can join the game as an enemy character trying to destroy the camp of the streamer and defeat them. They have commands on the stream.
© TinyBuildGames on YouTube
Sources:
https://www.youtube.com/watch?v=uu9M8WwneQo
https://store.steampowered.com/app/438680/One_Troll_Army/
Party Hard 2
Gameplay: Stealth 2D strategy game
Interaction: At the start of a round twitch viewers can create the environment in which the streamer has to navigate, they can place items, enemies etc. After a two minutes setup the player joins the room and try achieving certain challenges. There are also some special bonuses for the chat when the streamer dies due to them or are certainly helpful.
© tinyBuildGAMES on YouTube
Sources:
https://streamertactics.com/games-with-twitch-integration/#3_Viewergames_Arcade