Inspiration
I've been inspired by the original RPG game over chat at https://partyrock.aws/u/banjtheman/CnsW_HHSL/ChatRPG
I thought, why not turn it into a fun quiz game for learning a specific subject?
What it does
In the Quiz Anything game, enter the subject (anything from computer science to economics), and the number of questions.
The player will answer the series of questions on the subject. Based on the correct or wrong answer given, the game proceeds with fun responses and relevant pictures.
At the end of the quiz, the app presents the number of correct answers given. The player wins if he or she has answered correctly more than half of all the questions.
The player is then given an option to restart the quiz, either on the same subject or a different subject. Related subjects are recommended by the game.
How I built it
The app is built by remixing the existing RPG chat game, changing the prompts significantly to adapt it into a quiz game, and revamping the logic behind to calculate the final score.
Challenges I ran into
The widgets start responding as soon as I start typing in the input box. This might lead to errors in the subsequent widgets to run, and confuse the user using the app. I think an "Enter" or "Submit" button could have been useful. Or at least, the widgets could start responding only after certain lag time such as 3 seconds.
Accomplishments
I'm glad to have adapted a RPG chat into something useful for students and learners to have fun quiz over the subject of their choice!
What I learned
I've learned to create something useful for practical use with prompt engineering, careful prompting and sequencing, and having the users in mind when developing the app.
What's next for the app
I wish to program using AWS Bedrock, Python and other web technologies to make it a more official and user-friendly public-facing app.
Built With
- partyrock
Log in or sign up for Devpost to join the conversation.