Twilio challenge entry: Mystery at Darkwood Manor

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 buil…


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

Play it here!

Screenshot of game 'Mystery at Darkwood Manor'

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


Print Share Comment Cite Upload Translate Updates
APA

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/

MLA
" » Twilio challenge entry: Mystery at Darkwood Manor." dpppr | Sciencx - Sunday June 23, 2024, https://www.scien.cx/2024/06/23/twilio-challenge-entry-mystery-at-darkwood-manor/
HARVARD
dpppr | Sciencx Sunday June 23, 2024 » Twilio challenge entry: Mystery at Darkwood Manor., viewed ,<https://www.scien.cx/2024/06/23/twilio-challenge-entry-mystery-at-darkwood-manor/>
VANCOUVER
dpppr | Sciencx - » Twilio challenge entry: Mystery at Darkwood Manor. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/06/23/twilio-challenge-entry-mystery-at-darkwood-manor/
CHICAGO
" » Twilio challenge entry: Mystery at Darkwood Manor." dpppr | Sciencx - Accessed . https://www.scien.cx/2024/06/23/twilio-challenge-entry-mystery-at-darkwood-manor/
IEEE
" » Twilio challenge entry: Mystery at Darkwood Manor." dpppr | Sciencx [Online]. Available: https://www.scien.cx/2024/06/23/twilio-challenge-entry-mystery-at-darkwood-manor/. [Accessed: ]
rf:citation
» Twilio challenge entry: Mystery at Darkwood Manor | dpppr | Sciencx | 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.

You must be logged in to translate posts. Please log in or register.