Inspiration

🧠 Some of the streamers I watch use ChatGPT to create AI-generated stories, and I thought: why not let the whole community participate and decide how the story unfolds?

⚔️ Battles are always exciting; the competition keeps the tension alive between the streamer and their community.

What it does

  1. 🥷 The user selects a character and enters text that serves as the
    context for the battle.
  2. 💻 A random enemy is selected, and the AI begins generating the story.
  3. ⚔️ Viewers can decide the character's next action and also boost the hero's or enemy's defense or attack.
  4. 📜 The AI generates the next part of the story and displays the characters' health based on their choices.
  5. 💀 The first to run out of health loses, ending the battle.

How we built it

We use the Twitch API to create channel point rewards and polls. Additionally, a webhook allows us to detect whenever any of these actions are executed.

Challenges we ran into

Authentication and authorization in the twitch api to be able to use the endpoints, the use of webhoks to change the status of the app based on results directly on twitch.

Accomplishments that we're proud of

Deliver the complete product, with its base functionalities working properly, plus the use of the ia, to create communities and support streamers.

What we learned

Too much about the twitch api, different types of authentication it handles, the use of webhooks and ia tools like the openia ap

What's next for Arena Bragis

Create a twitch extension to allow more user interactions by integrating monetization.

Generate images and audio with the response of the story with ia tools.

Built With

Share this project:

Updates