Inspiration

We were inspired by the minigame Death by AI, and wanted to adapt its use of AI as a judge of the user for another game.

What it does

Our app prompts the user with a question, where the user chooses one of two sides and argues it. Once the user submits an answer, the answer is judged by three distinct characters with their own unique personalities and scoring criteria. The user's score contributes to their side's total, which is shown in a progress bar. Additionally, if the user scores high enough, they will be shown on the leaderboard. After a day, the bot archives the question and displays its statistics.

How we built it

For our frontend we used React. Our backend was fully powered by the Devvit Public API. We utilized both the Reddit API and Redis database from Devvit. Redis was used to store both player data and general data like team scores. We used the Reddit API for post creation and user identification.

Challenges we ran into

Our biggest challenge we ran into was using React when generating our frontend. This project was the first time we ever used React. Learning how to utilize Devvit’s unique serverless architecture was also a very big challenge for us. Devvit’s messaging system between front and backend was also something we had difficulties adjusting to.

Accomplishments that we're proud of

We are most proud of creating a fully functioning app on the Devvit platform. We’re also proud of leveraging our prompting skills to easily produce new characters via AI.

What we learned

We greatly improved our typescript skills, successfully maintaining consistent data types across our program. We also learned effective strategies for constructing system prompts for our AI, making them give much better responses.

What's next for Hear us Out

We’re planning on adding a new game phase called the rebuttal phase. In the rebuttal phase, players will try to debunk the opposing team’s arguments. If the AI agrees with the player’s conclusion, the argument he debunked will stop earning points for the other team. Additionally, we plan to polish the UI and make it more unique.

Built With

Share this project:

Updates