{"id":291,"date":"2018-04-24T16:33:17","date_gmt":"2018-04-24T15:33:17","guid":{"rendered":"http:\/\/www.portfolio.hanicajo.com\/?p=291"},"modified":"2018-05-08T08:37:40","modified_gmt":"2018-05-08T07:37:40","slug":"multi-user-dungeon-for-amazon-alexa","status":"publish","type":"post","link":"https:\/\/www.portfolio.hanicajo.com\/?p=291","title":{"rendered":"Multi-User Dungeon for Amazon Alexa"},"content":{"rendered":"<p><a href=\"https:\/\/youtu.be\/NXSsFJABpKs\">https:\/\/youtu.be\/NXSsFJABpKs<\/a><br \/>\n==UPDATED 04\/05==<br \/>\nI&#8217;ve now got the interface part of this project working, so I&#8217;m now working on actually writing the story. Being able to resume your adventure at any time means I can write a more in-depth game, rather than having to complete it in one session. Now for some Python!<br \/>\n==PREVIOUS UPDATE==<br \/>\nI&#8217;ve had a complete rethink to how this skill works.<br \/>\nOriginally, I was converting the text from the game into speech and then streaming it out to Alexa. For this I used the festival TTS engine and also the AWS Polly service. There was a lot of overhead with this, especially with multiple users and as it is all running on a Raspberry Pi. Getting voice input was also not great this way as the session ends after Alexa plays a stream, so the wake word was required each time you gave a command.<br \/>\nThe skill no longer uses this streaming method, so it doesn&#8217;t require a TTS engine any more.<br \/>\nThere is still a long way to go, but this new direction seems to be the best way to go and my Raspberry Pi is happy again!<br \/>\n===========<br \/>\nI&#8217;m currently working on bringing the Multi-User Dungeon experience to the Amazon Alexa device.<br \/>\nI quite like the idea of navigating through an adventure via voice and being able to meet up and converse with other Alexa users in ye olde virtual inn. The Multi-User aspect seems to be sadly missing from any Interactive Fiction type apps that are currently available for the Alexa.<br \/>\nEarly days, but I do have a basic working version. I am currently running it on a Raspberry Pi, but I should be able to improve the current latency issues.<br \/>\nThis could probably also be adapted to work with Facebook chat etc, so I may have to look into that.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>==UPDATED 04\/05== I&#8217;ve now got the interface part of this project working, so I&#8217;m now working on actually writing the story. Being able to resume your adventure at any time means I can write a more in-depth game, rather than<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-291","post","type-post","status-publish","format-standard","hentry","category-projects"],"_links":{"self":[{"href":"https:\/\/www.portfolio.hanicajo.com\/index.php?rest_route=\/wp\/v2\/posts\/291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.portfolio.hanicajo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.portfolio.hanicajo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.portfolio.hanicajo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.portfolio.hanicajo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=291"}],"version-history":[{"count":6,"href":"https:\/\/www.portfolio.hanicajo.com\/index.php?rest_route=\/wp\/v2\/posts\/291\/revisions"}],"predecessor-version":[{"id":299,"href":"https:\/\/www.portfolio.hanicajo.com\/index.php?rest_route=\/wp\/v2\/posts\/291\/revisions\/299"}],"wp:attachment":[{"href":"https:\/\/www.portfolio.hanicajo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.portfolio.hanicajo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.portfolio.hanicajo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}