Inspiration
We were inspired by the struggles that people have to face daily — our fears. Fears have the power to hold us back, preventing us from living life to its fullest. This game is our way of exploring and overcoming those challenges through an interactive and meaningful experience.
We were fascinated by the concept of the idea of the self vs the shadow. We immediately found the message of self acceptance, acknowledging your strengths and weaknesses to be emotionally meaningful. In Duality Duel, during the first half of the game, you will be given several scenarios and a set of choices, and the AI uses your answers to build your persona. The AI will then create a shadow version of yourself, which is formed based on your worst flaws according to your persona. At the second half of the game, you will face your shadow. Whether you win or lose is based on your choices.
What it does
Our game immerses players in a series of moral-based scenarios, each with four unique choices. Based on the player's decisions, the game will generate an "evil shadow" version of their personality, reflecting the darker side of their choices.
How we built it
Duality Duel was built using React for the front end and Javascript for the back end. The initial concept design was created in Figma. The main functionality was achieved using Google Gemini to generate the "evil shadow" version. All of the art was hand-drawn by our lovely artist, Savannah.
Challenges we ran into
At first, we used Unity to implement our game. However, we ran into issues with OpenAI in that we were reaching our max quota even though no requests were being sent. We thought the issue was with Unity, so we migrated to React. However, the same problem occurred. It turns out that for some reason the API call kept requesting a response even though the button was clicked once (and we tested out print statements, which were only printing once), so we weren't sure why the function kept requesting OpenAI. The continuous calling made us reach the limit once more. It turned out that OpenAI updated their policy requiring a $5 credit fee, so we said "HELL NAH" and migrated over to Google Gemini — which was free.
Accomplishments that we're proud of
We are incredibly proud of how we were able to create a fully functioning and responsive game from scratch. It was our first time using Google Gemini and we are proud that the final product came out so clean and easy to use.
What we learned
We learned a lot from this experience regarding routing our frontend design with our backend, as well as how to collaborate effectively using Git. We also learned how to effectively use Google Gemini API to generate a negated version of the player's choices.
What's next for Duality Duel
We are hoping to add minigames, more unique art styles, dialogue and storyline within the game. These additions will enhance immersion, deepen player connections to the narrative, and make the gameplay even more dynamic and memorable.
Built With
- bootstrap
- figma
- gemini
- javascript
- procreate
- react





Log in or sign up for Devpost to join the conversation.