GithubHelp home page GithubHelp logo

valery-barysok / gnome-garden-game-nodejs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from actions-on-google-labs/gnome-garden-game-nodejs

0.0 1.0 0.0 28.92 MB

License: Apache License 2.0

Shell 1.53% JavaScript 34.99% HTML 0.16% Vue 56.06% SCSS 7.26%

gnome-garden-game-nodejs's Introduction

Actions on Google: Gnome Garden Game

NOTE

This is an experimental project and will receive minimal maintenance. Only bugs for security issues will be accepted. No feature requests will be accepted. Pull requests will be acknowledged and reviewed as soon as possible. There is no associated SLAs.

Some of the projects in this experimental org might mature to a more stable state and move into the main Actions on Google GitHub org.


Gnome Garden

This is the full source code for the Google Assistant game, Gnome Garden.

Plant your own garden with the help of your voice & your trusty garden gnome, G’norman.

G'norman is a curious gnome. Answer his whimsical ponderings, and he’ll sculpt what you say into a beautiful garden. Make sure to check on your garden (and G’norman) often before those pesky weeds (or beautiful wildflowers, whichever your POV) take over!

When it's all full, keep the zen garden by your side as you go about your activities, or delight in a new one if you fancy a daily change of scenery.

This game explores a new, experimental type of gameplay, offered by the ambient nature of smart displays in the home. We hope this game and the design process that we followed inspires you to create your own unique, ambient experiences.

This game has been designed for Nest Hub and Nest Hub Max smart displays and implemented using Interactive Canvas.

Prerequisites

  1. Node.js and NPM
  2. Install the Firebase CLI
    • We recommend using MAJOR version 8 with 8.3.0 or above, npm install -g firebase-tools@^8.3.0
    • Run firebase login with your Google account
  3. For Windows developers, the projects scripts rely on a bash script, so we recommend installing Ubuntu on Windows Subsystem for Linux.

Setup

Actions Console

  1. From the Actions on Google Console, New project > Create project > Game > Blank Project for Smart Display
  2. Enable the For Families option under Deploy > Directory information > Additional information and save the information.

Firebase Deployment

  1. On your local machine, in the root directory of the project, run npm install.
  2. Run npm install in the functions directory.
  3. Run firebase use --add {PROJECT_ID} in the project root directory.
  4. Edit .env and and replace {PROJECT_ID} with your project ID and replace {Game Name} your own name.
  5. Run npm run deploy.

Actions CLI

  1. Install the Actions CLI
  2. Navigate to sdk/settings/settings.yaml, and replace {PROJECT_ID} with your project ID.
  3. Navigate to sdk/settings/en/settings.yaml, and replace {Game Name} your own name.
  4. Navigate to sdk/webhook/AssistantStudioFulfillment.yaml, and replace {PROJECT_ID} with your project ID
  5. Navigate to the sdk/ directory by running cd sdk from the root directory of this project.
  6. Run gactions login to login to your account.
  7. Run gactions push to push the whole project.
  8. Run gactions deploy preview to deploy the project.

Running this Sample

  • You can test your Action on any Google Assistant-enabled device on which the Assistant is signed into the same account used to create this project. Just say or type, “OK Google, talk to my test app”.
  • You can also use the Actions on Google Console simulator to test most features and preview on-device behavior.

References & Issues

Contributing

Please read and follow the steps in the CONTRIBUTING.md.

License

See LICENSE.

gnome-garden-game-nodejs's People

Contributors

keyboardsurfer avatar

Watchers

 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.