This content originally appeared on DEV Community and was authored by dpppr
This is a submission for the Twilio Challenge
What I Built
I built a small web based Murder Mystery game; ask the suspects questions to try and figure out the culprit.
I had a great time making it and hope you enjoy playing!
This is built in Vanilla JS and jQuery. The character images are by Freepik and the background is by upklyak on Freepik.
Demo
Source can be found at:
https://github.com/dpppr/mysteryAtDarkWoodManor
Twilio and AI
I used Twilio's functions to take the users chat input and character they are talking to, from there it generates the appropriate character prompt to send onto google Gemini. Once Gemini has a response, the Twilio function returns the generated text back to the user.
Gemini was used for both the character responses and for judging whether or not the user's guess at solving the mystery was correct or not.
Additional Prize Categories
Entertaining Endeavours A game where people can solve a mystery by asking their own questions instead of preset ones and getting unique responses, and judging those responses to work out inconsistencies. They can also write their theory as they see it.
<!-- Thanks for participating! →
This content originally appeared on DEV Community and was authored by dpppr
![](https://www.radiofree.org/wp-content/plugins/print-app/icon.jpg)
dpppr | Sciencx (2024-06-23T12:06:42+00:00) Twilio challenge entry: Mystery at Darkwood Manor. Retrieved from https://www.scien.cx/2024/06/23/twilio-challenge-entry-mystery-at-darkwood-manor/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.