Code Monkey home page Code Monkey logo

chocolate-math's Introduction

Chocolate Math Game

A little fun game full of whimsical math word questions. Best suited for kids who love both math and chocolates. The game is also equipped with sounds of cheers whenever you answer your questions correctly, or sighs if you answer the question wrong.

Installation

	npm install

Sample Conversations

/* Examples:

Example 1: User: Alexa ask chocolate math Alexa: Welcome to chocolate Math Land. [sound of game start] ... How many math questions would you like to have? User: Five Alexa: Five questions that is. Question 1: Tommy has 5 ninja figures, Peter has 2 ninja figures. How many ninja figures do Tommy and Peter have together? User: Seven Alexa: You answered Seven. [sound of Cheers] ... You now have 10 chocolates. Question 2 ... ... ... Alexa: Good job. [sound of Game over] You have completed the chocolate Math game. You have earned 50 chocolates. It was a pleasure playing with you. Come to visit Jolly Rancher Math Land soon. Goodbye!

Example 2: User: Alexa open chocolate math Alexa: Welcome to chocolate Math Land. [sound of Game start] ... How many math questions would you like to have? User: Ten Alexa: Ten questions that is. Question 1: Tommy has 5 ninja figures, Peter has 2 ninja figures. How many ninja figures do Tommy and Peter have together? User: Seven Alexa: You answered Seven. [sound of beep] ... Then answer is wrong. You now have 0 chocolates. Question 2 ... ... ... Alexa: Good job. [sound of Game over] You have completed the chocolate Math game. You have earned 50 chocolates. It was a pleasure playing with you. Come to visit Jolly Rancher Math Land soon. Goodbye! */

Video Demo

IMAGE ALT TEXT HERE

Notes

Intents

{
  "intents": [
    {
      "intent": "questionsTotalIntent",
      "slots": [
        {
          "name": "answerSlot",
          "type": "NUMBER"
        }
      ]
    },
    {
      "intent": "answerIntent",
      "slots": [
        {
          "name": "answerSlot",
          "type": "NUMBER"
        }
      ]
    },
    {
      "intent": "answerOnlyIntent",
      "slots": [
        {
          "name": "answerSlot",
          "type": "NUMBER"
        }
      ]
    },
    {
      "intent": "AMAZON.StartOverIntent",
      "slots": []
    },
    {
      "intent": "AMAZON.HelpIntent",
      "slots": []
    },
    {
      "intent": "doNotKnowIntent",
      "slots": []
    },
    {
      "intent": "AMAZON.StopIntent",
      "slots": []
    },
    {
      "intent": "AMAZON.CancelIntent",
      "slots": []
    },
    {
      "intent": "AMAZON.RepeatIntent",
      "slots": []
    }
  ]
}

Utterances

questionsTotalIntent	{answerSlot} questions
answerIntent	The answer is {answerSlot}
answerOnlyIntent	{answerSlot}
doNotKnowIntent	Don't Know
doNotKnowIntent	Not Sure
doNotKnowIntent	I do not know
doNotKnowIntent	I don't know

History

  • 0.0.1 - Dec 22, 2016
    • Launch and enjoyed by little kids

chocolate-math's People

Contributors

xdmae avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.