Inspiration

Our inspiration for Power Parley stems from the childhood fascination with superheroes and the limitless possibilities of their extraordinary abilities. We wanted to capture the essence of every child's dream—to step into the shoes of their favorite hero and unleash their powers in epic scenarios. Whether it's racing through the city at super-speed, seeing through walls with x-ray vision, or teleporting across vast distances, Power Parley transforms these childhood fantasies into an immersive and exhilarating gaming experience.

What it does

Power Parley is an engaging web-based game where players are assigned unique abilities and must passionately argue why their power reigns supreme. As the lively debates unfold among friends, an AI steps in as the impartial judge, determining the ultimate victor based on the strength of their arguments and creativity. It's a fun-filled journey of discussion, strategy, and friendly competition, where every player's fate hangs in the balance of the AI's judgment.

How we built it

Power parley is built on Reflex’s powerful open-source framework. We also used Gemini AI to power the AI judge.

Challenges we ran into

During the development process of Power Parley, our team encountered several challenges that tested our problem-solving skills and adaptability. One major hurdle was navigating the nuances of Reflex, a relatively new platform with undocumented bugs that occasionally disrupted our workflow. Additionally, the diversity of our team's operating systems caused compatibility issues, especially concerning hot reloads on Windows machines. Integrating CSS animations proved challenging due to Reflex's limitations in handling CSS styles effectively. Another obstacle arose from the absence of shared state functionalities across web pages, necessitating labor-intensive monitoring of live chat rooms and implementing repetitive database updates and queries to manage changing variables. Furthermore, grappling with typing errors, particularly following the introduction of custom types, added another layer of complexity to the development process. Despite these challenges, our team remained resilient and collaborative, ultimately overcoming obstacles to create an engaging and dynamic gaming experience in Power Parley.

Accomplishments that we're proud of

We're particularly proud of achieving an unbiased prompt that retains historical information. Generative AI models often tend to favor the second option when faced with two choices, but we successfully ensured impartiality in our prompt generation. However, integrating Gemini into our project posed challenges due to Reflex's limitations in storing complex data types as states. This obstacle forced us to create a custom history system, adding complexity to our project beyond the already multi-paragraph prompt.

What we learned

We mastered the Gemini API, prompt engineering, and Reflex, gaining valuable experience in navigating new technologies. Additionally, we honed our skills in debugging complex programs, demonstrating resilience in overcoming challenges along the way.

What's next for Power Parley

Next for Power Parley, we aim to elevate the graphics quality, leveraging skills from a computer graphics course. While the visuals currently lack luster, the game's true innovation lies in its AI-driven interactions with players. Looking ahead, we envision expanding the game's scope to encompass a wide range of both lighthearted and serious arguments.

Built With

Share this project:

Updates