{"id":141,"date":"2018-04-20T04:39:00","date_gmt":"2018-04-20T04:39:00","guid":{"rendered":"http:\/\/dial-a-grue.com\/gory\/?p=141"},"modified":"2018-04-20T04:40:20","modified_gmt":"2018-04-20T04:40:20","slug":"wumpus","status":"publish","type":"post","link":"https:\/\/dial-a-grue.com\/gory\/?p=141","title":{"rendered":"Wumpus"},"content":{"rendered":"<p>In a flurry of activity, I&#8217;ve added yet another game.\u00c2\u00a0 This time the classic &#8220;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Hunt_the_Wumpus\">Hunt the Wumpus<\/a>&#8216;.\u00c2\u00a0 It&#8217;s fairly faithful to the <a href=\"https:\/\/www.atariarchives.org\/morebasicgames\/showpage.php?page=178\">basic version<\/a>, though the numbering of the rooms is different (still a dodecahedron though.)\u00c2\u00a0 For those not familiar with the game, you are an intrepid explorer in a cave with 20 interconnected rooms.\u00c2\u00a0 In some other room there resides a horrible (though usually very sleepy) beast known as a Wumpus, and it&#8217;s your job to kill it.\u00c2\u00a0 The cave is also home to bats (which carry you off to a random room) and deep pits where you will fall to your death.\u00c2\u00a0 To aid you in your quest, you have 5 crooked arrows, that can each fly through up to 5 rooms (if you can map out that far ahead.) If you fire and miss however, the wumpus wakes up and might move to an adjacent room, possibly the one you&#8217;re in&#8211;a fatal mistake. Wandering into the room with the wumpus is also sometimes fatal, though you usually just scare it off.<\/p>\n<p>I&#8217;ve always had a soft spot for this game&#8211;it may be the first computer game I played.\u00c2\u00a0 I first played this game on a mainframe at <a href=\"https:\/\/www.llnl.gov\/\">my father&#8217;s work<\/a> when I was about 7 years old.\u00c2\u00a0 At the time it seemed cool, though almost impossibly difficult.\u00c2\u00a0 Now it seems much easier, though I have the benefit of a map and better skills.<\/p>\n<p>The game would actually be very fun and playable if not the the abysmal recognition accuracy I&#8217;m getting from the pocketsphinx STT engine.\u00c2\u00a0 It consistently mishears &#8216;shoot&#8217; as &#8216;eight&#8217;, and &#8216;two&#8217; as &#8216;ten&#8217;, making certain situations very frustrating.\u00c2\u00a0 I have three solutions in mind.\u00c2\u00a0 First, train the pocketsphinx engine.\u00c2\u00a0 Second, toss it out in favor of an online STT engine like <a href=\"https:\/\/wit.ai\/\">wit.ai<\/a> or <a href=\"https:\/\/cloud.google.com\/speech-to-text\/\">Google<\/a>.\u00c2\u00a0 Third, and possibly the most appropriate for the phone, I could replace the voice input of numbers with using the dial on the phone, though this may prove equally frustrating to use in practice.<\/p>\n<p>Sample test game after the break.\u00c2\u00a0<!--more--><\/p>\n<blockquote>\n<pre>In room 2 there are passages to rooms 1, 5 and 18 and you hear bats nearby\r\nYou move to room 18 and a bat carries you off to room 10\r\nIn room 10 there are passages to rooms 5, 9 and 17 and you can smell the wumpus\r\nshooting at 5\r\nYou fire your arrow, it flies to room 5, you hear the wumpus move and you have 4 arrows left\r\nIn room 10 there are passages to rooms 5, 9 and 17\r\nYou move to room 17\r\nIn room 17 there are passages to rooms 10, 16 and 18, you hear bats nearby and you can smell the wumpus\r\nshooting at 16\r\nYou fire your arrow, it flies to room 16 and finds its mark, striking the wumpus down!\r\nYour game is over because you killed the Wumpus!<\/pre>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>In a flurry of activity, I&#8217;ve added yet another game.\u00c2\u00a0 This time the classic &#8220;Hunt the Wumpus&#8216;.\u00c2\u00a0 It&#8217;s fairly faithful to the basic version, though the numbering of the rooms is different (still a dodecahedron though.)\u00c2\u00a0 For those not familiar with the game, you are an intrepid explorer in a cave with 20 interconnected rooms.\u00c2\u00a0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,10,7,4,8],"tags":[],"class_list":["post-141","post","type-post","status-publish","format-standard","hentry","category-coding","category-ears","category-phone","category-planning","category-wetwork"],"_links":{"self":[{"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=\/wp\/v2\/posts\/141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=141"}],"version-history":[{"count":0,"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=\/wp\/v2\/posts\/141\/revisions"}],"wp:attachment":[{"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dial-a-grue.com\/gory\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}