Skip to content

realill/sherlock-mysteries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sherlock Mysteries

Sherlock Mysteries is murder investigation game for Google Assistant.

Build and Setup

Sherlock Mysteries consist of two main parts: Dialogflow based agent for Natural Language Processing and Google Could App Engine based fulfillment.

Webhook fulfillment

Fulfillment part of the game keeps data about cases, handles player sessions, provides some simple administrative control over the game and part of game HTML based UI.

Please refer to docs/Install.md on how to set it up.

Dialogflow Agent

Dialogflow agent handles NLU processing for Sherlock Mysteries and uses Google Cloud fulfillment to finish user requests. To setup your agent go through following steps:

  1. Register on Dialogflow.com and create new agent.
  2. Go into agent settings into "Export and Import" section and press "Restore from Zip" button.
  3. Use SherlockMysteries.zip to initialize your agent.
  4. Go into Fulfillment section of your agent and setup URL that will be used as webhook endpoint. Endpoint should end with /webhook, for example: https://you-cloud-project-id.appspot.com/webhook .