<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: dpppr</title>
    <description>The latest articles on Forem by dpppr (@dpppr).</description>
    <link>https://forem.com/dpppr</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1554307%2Fed900508-d16f-49a1-baad-62cc732e90a5.png</url>
      <title>Forem: dpppr</title>
      <link>https://forem.com/dpppr</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/dpppr"/>
    <language>en</language>
    <item>
      <title>Twilio challenge entry: Mystery at Darkwood Manor</title>
      <dc:creator>dpppr</dc:creator>
      <pubDate>Sun, 23 Jun 2024 12:06:42 +0000</pubDate>
      <link>https://forem.com/dpppr/twilio-challenge-entry-mystery-at-darkwood-manor-744</link>
      <guid>https://forem.com/dpppr/twilio-challenge-entry-mystery-at-darkwood-manor-744</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/twilio"&gt;Twilio Challenge &lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;I built a small web based Murder Mystery game; ask the suspects questions to try and figure out the culprit.&lt;/p&gt;

&lt;p&gt;I had a great time making it and hope you enjoy playing!&lt;/p&gt;

&lt;p&gt;This is built in Vanilla JS and jQuery. The character images are by Freepik and the background and banner image is by upklyak on Freepik.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;Play it here!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://chimerical-marshmallow-8dac22.netlify.app/"&gt;https://chimerical-marshmallow-8dac22.netlify.app/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fktzavqjpj703q667ovt5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fktzavqjpj703q667ovt5.png" alt="Screenshot of game 'Mystery at Darkwood Manor'" width="800" height="320"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;(A slightly messy) Source can be found at:&lt;br&gt;
&lt;a href="https://github.com/dpppr/mystery_wp"&gt;https://github.com/dpppr/mystery_wp&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Twilio and AI
&lt;/h2&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  Additional Prize Categories
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Entertaining Endeavours&lt;/strong&gt; 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.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>twiliochallenge</category>
      <category>ai</category>
      <category>twilio</category>
    </item>
  </channel>
</rss>
