No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Rock-paper-scissors for DialogFlow

This project contains an implementation of the Rock-Paper-Scissor game for Google Actions and Google Dialogflow. The fulfillment backend runs as a Google Function.

The chatbot application is written in the cross-platform Jovo Framework.

The primary goal of this project was not to implement a game, but to learn about Google DialogFlow, Actions, Functions and Jovo Framework.


Although this could be added relatively easy, there is currently no support to run this application as an Alexa Skill.

Prerequisites for building, running and deploying

In order to build this application and deploy it your own Google Cloud environment, here's what you need:

Code preparation

[~]$ mkdir mydir
[~]$ cd mydir
[mydir]$ git clone
[mydir]$ cp /mydownloads/service_account.json .
[mydir]$ pico .env (see immediately below)

Structure of the .env file inside mydir



  • <projectname> is the name of the Google Cloud Project containing the Dialogflow agent
  • <projectid> is the identifier of the Google Cloud Project containing the Dialogflow agent
  • <agentname> is the name of the Dialogflow Agent

Build, package, deploy and run the application on Google Cloud

[mydir]$ docker-compose up -d --build jovo

To force a redeployment, even when no application code has changed:

[mydir]$ FORCERERUNFROMHERE=`date -Iseconds` docker-compose up -d --build jovo