Inspiration

Very few things can encapsulate the fun of bonding with friends through the experience of a tabletop game. That being said, anyone who has tried to run one knows just how much planning, scheduling, and time goes into making it work. That's where our app comes in. Using artificial intelligence, we removed the barrier for entry for a group of any size to play a Star Wars RPG with their friends!

What it does

Each player simply needs to enter a name and a description, then the game takes care of the rest! The AI will lead the players through the game, and give instructions for each step along the way.

How we built it

This is running in python, using PySimpleGUI and OpenAI's python module. The app stores user data in python, and feeds it to the OpenAI API. This prevents the issue of the limited memory of gpt3 from causing problems with the user experience.

Challenges we ran into

Initially we were using C#, ASP.NET, and an OpenAI package to build a web application based on our game. It was challenging to get ChatGPT to continue the conversation without requiring the user to frequently remind it of the game. Because of this there would be discrepancies between messages sent by ChatGPT. A possible fix was to use a database to store the messages, however because of lack of time it wasn't possible to implement it.

Accomplishments that we're proud of

Despite the numerous obstacles we faced and the fact that we had start our project over with only 6 hours remaining. We are overall happy that we were able to complete it.

What we learned

Despite our shared objective, each of us learned different things. Robel learned that every note on a piano has a certain frequency to it while trying to emulate the Star Wars theme song. Nic learned how to make GUIs and access APIs in Python. Sam learned code organization and how to use APIs in C#.

What's next for The Empire Dice Strikes Hack: A Star Wars RPG Adventure!

To make it into a web application either using a Django framework or a ASP.NET. We can use a database to keep track of users and their progress in the game.

Built With

  • breadboad
  • c
  • openai
  • pysimplegui
  • python
  • transducer
Share this project:

Updates