Template: Trivia Game

A quiz game that uses states and i18n

About

This trivia game asks users questions and offers four potential answers which can be picked by saying a number. The questions, answers, and other elements are stored in language files (for now en-US and de-DE), which can be accessed through the Jovo i18n integration.

This template is based on the sample Alexa Trivia Skill by Amazon.

Installation

Use the Jovo CLI to download this template:

See the code and more information here

Sample Conversation

Open jovo trivia

Welcome to Jovo Trivia. I will ask you 5 questions, try to get as many right as you can. Just say the number of the answer. Are you ready?

Yes

Question 1. What do Reindeer eat? 1. Leaves. 2. Berries. 3. Grasses. 4. Lichen.

Four

That answer is correct. Your score is 1. Question 2. Santa only has one female reindeer, which one is it? 1. Cupid. 2. Cupid. 3. Clarice. 4. Vixen.

Other Templates

Hello World

Build your first voice app with the Jovo Framework

Alexa Audioplayer

Build an Audioplayer Skill for Amazon Alexa

Alexa Dialog Interface

Use the Alexa Dialog Interface for slot filling

Alexa Skill Events

Sample implementation of Alexa Skill Events

Alexa In-Skill Purchases

Sell a sample product with Alexa In-Skill Purchasing

Google Action Media Response

Build a Google Action that plays audio files

Unit Testing

Create unit tests for your Alexa Skills and Google Actions

Join Our Newsletter

Be the first to get our free tutorials, courses, and other resources for voice app developers.