Git Product home page Git Product logo

hunttheyetialexa's People

Contributors

jcchurch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

hunttheyetialexa's Issues

Error with game after saying move or throw

I was testing the latest version, installed fine, got the intro, began game, I got an error when I tried to move or throw. In the ASK console for the intent Move Hunter, this is the message:

2016-09-05T00:45:57.521Z 1bcfc9af-7302-11e6-b383-6d447718b97e session applicationId: amzn1.ask.skill.e299f832-250a-4416-9c68-5d5a1bdb9a2a
2016-09-05T00:45:57.521Z 1bcfc9af-7302-11e6-b383-6d447718b97e dispatch intent = MoveHunter
2016-09-05T00:45:57.521Z 1bcfc9af-7302-11e6-b383-6d447718b97e Unexpected exception TypeError: Cannot read property 'length' of undefined
2016-09-05T00:45:57.521Z 1bcfc9af-7302-11e6-b383-6d447718b97e {"errorMessage":"Cannot read property 'length' of undefined","errorType":"TypeError","stackTrace":["Cave.getSafeRooms (/var/task/model/Cave.js:309:26)","Cave.placeHunterInRandomSafeRoom (/var/task/model/Cave.js:325:26)","new Cave (/var/task/model/Cave.js:17:14)","new HuntTheYetiGame (/var/task/controller/HuntTheYetiGame.js:30:21)","HuntTheYetiSkill.moveHunter (/var/task/index.js:97:31)","HuntTheYetiSkill.intentHandlers.MoveHunter (/var/task/index.js:54:14)","AlexaSkill.eventHandlers.onIntent (/var/task/AlexaSkill.js:65:27)","AlexaSkill.requestHandlers.IntentRequest (/var/task/AlexaSkill.js:28:37)","AlexaSkill.execute (/var/task/AlexaSkill.js:105:24)","exports.handler (/var/task/index.js:169:17)"]}

After throwing spear I get this message:

With the your update 548fd00, my previous issue with the spears is fixed. However, I still get the message " If you would like to play again..." after I get the result from the spear throw.

if (session.attributes.game.isPlaying()) {
var aDirection = intent.slots.Direction.value;
session.attributes.game.launchSpear(aDirection);
response.askSSML(session.attributes.game.getConsequence()

  • " If you would like to play again, say 'Begin Game' or say 'Stop'",
    "The game is over. Say 'Begin Game' or 'Stop'."
    );
    }

I was playing with 4 yetis in the cave, that was fun! Also, does the spear travel more than one room? A couple of times, even though nothing was near, I threw the spear in a random direction and it hit a yeti.

BTW, have you tried bst proxy https://bespoken.tools/blog/2016/08/24/introducing-bst-proxy-for-alexa-skill-development? I use it when testing Hunt Yeti.

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.