Inspiration
The game is inspired from the D&D game as well as Zork, being a 1980s text-adventure computer game. Since LLMs like Gemini have strong and powerful foundation in processing Natural languages and generate languages, we thought it would be a perfect source for building these text or word based online games. I am a big fan of the Big Bang Theory and when speaking of these text games, the Zork and D&D just cam across my mind and we thought, why not going back to 80s and 90s once again?
What it does
So it gives some options to user to enter their preferences on the game, like the goal of this game, the name of the main protagonist, how the interactions conducted and the preferred game difficulty. Then a prompt-based text-adventurous game is generated, user can then type in their actions and reacts to different situations given from the system, just like the Zork game mentioned above, however this time, user-oriented as they get to customise the game setting.
How we built it
It's built on Python+Flask as the backend support and Vue 3 as the front end support. Gemini LLM is used to build communication between the frontend and the backend.
Challenges we ran into
None
Accomplishments that we're proud of
The completion of the text-adventure web game using the LLM.
What we learned
LLM is powerful in building text-based application.
What's next for D&H Say hello to the 80s text-adventure wording game!
Improve on the interactions between components, possibly add more options for users to enter more preferences in details.
IMPORTANT!!
The Google cloud id that was required during the submission process was filled incorrectly, we didn't know where to find the id so we randomly input a number, but it is based on Google LLM API.
Built With
- element-plus
- flask
- html
- javascript
- python
- rest-api
- vue3
Log in or sign up for Devpost to join the conversation.