Inspiration
It's best to learn new things when it's fun learning. And gamification adds up to it!
Visuals also help with engagement, especially when it looks good.
What it does
This is a quiz-like game, where given some facts about a country you need to guess which country that is.
Besides the facts, you can also see the most popular food in that country. To be honest, I haven't yet seen something that wouldn't look tasty!
To keep it engaging, there are 3 lifelines available and 3 levels to pass through. Try to guess them all! :)
How we built it
It's based completely on PartyRock, which is the format of this hackathon. Most of the logic (via a prompt) is in the chat box, but a "helper" widget is used to generate an image besides that.
Challenges we ran into
While a chat widget works quite well for a quiz-like game, it's quite a challenge to reuse that internal state of the game in other widgets.
For instance, an additional widget was tried out to always showcase the question number, current score, available lifelines and such. This didn't work great – analysing the chat history to understand the state didn't yield consistent, reliable results. A fallback was used to present the state in the same chat window, which works much more consistently.
Accomplishments that we're proud of
The game itself works quite reliably and is engaging!
While some iterations were needed for the setup, it's clear that building on top of Amazon Bedrock, especially with tools like PartyRock, gives a very efficient way to create apps!
What we learned
While the result is quite reliable, for an actual production app state management would be important challenge, especially when sharing its inputs and outputs between different "widgets" (or models).
What's next for GeoShoot! (with a taste)
Play and enjoy, fork and improve!
If this proves to be fun for the players, there's a clear potential to build a mobile app using Amazon Bedrock for different variations of such a game – it's really easy to hook into the knowledge pool of LLMs!
Built With
- claude
- partyrock
- stablediffusionxl
Log in or sign up for Devpost to join the conversation.