Inspiration
I wanted to create an engaging, educational, and entertaining treasure hunt game that could provide players with questions on a topic of their choice.
What it does
Treasure Hunt is a Java program that uses GridWorld to display a 10 x 10 grid containing the hidden treasure and ladybugs that ask a trivia question and hint at where the treasure box is if you provide the correct answer. The program also uses a ChatGPT API to provide a question and one-word answer about any trivia topic you select.
How we built it
I coded a Java program using Visual Studio Code and integrated it with ChatGPT.
Challenges we ran into
One challenge was finding an exciting idea, as I wanted the game to be educational and entertaining. Before making this project, I had minimal experience with GridWorld and no experience with integrating a program with ChatGPT.
Accomplishments that we're proud of
An accomplishment I'm proud of is that the game offers endless possibilities to the player so they can play it over and over again without getting bored. Since the game uses ChatGPT to generate questions and answers, the player can choose any topic and be asked different questions each time they play.
What we learned
I learned how to use Java's GridWorld library and integrate it with ChatGPT.
What's next for Treasure Hunt Game
The Treasure Hunt Game can be made more visually appealing and have more functionalities and features.
Built With
- chatgpt
- gridworld
- java
- visual-studio
Log in or sign up for Devpost to join the conversation.