{"id":448,"date":"2012-10-02T19:58:05","date_gmt":"2012-10-03T02:58:05","guid":{"rendered":"http:\/\/blogs.unsw.edu.au\/infs1609\/?p=448"},"modified":"2012-10-02T19:58:11","modified_gmt":"2012-10-03T02:58:11","slug":"lab-week-11-wumpus","status":"publish","type":"post","link":"https:\/\/blogs.unsw.edu.au\/infs1609\/blog\/2012\/10\/lab-week-11-wumpus\/","title":{"rendered":"Lab Week 11 &#8211; Wumpus"},"content":{"rendered":"<p>Download the\u00a0<a href=\"http:\/\/www.cse.unsw.edu.au\/~cs1400\/lectures\/Wumpus.zip\">Wumpus game<\/a> shown in lectures.<\/p>\n<p>Examine the code try to follow how it works. Make the following changes to the game:<\/p>\n<ol>\n<li>Rearrange the rooms so that are in a 4\u00d75 grid.<\/li>\n<li>Make it so that the wumpus needs to be shot more than once (you choose how many times) to be killed. Each time it is shot it runs to a random neighbouring room (not the one the player is in).<\/li>\n<li>Add a new \u2018hazard\u2019 \u2013 a Trader who gives the player more arrows. Consider:\n<ul>\n<li>What \u2018warning\u2019 sound is heard if the trader is nearby?<\/li>\n<li>What happens when the player enters the trader\u2019s room?<\/li>\n<li>Where does the trader fit in the sequence of hazards?<\/li>\n<li>What should happen if the player shoots the trader?<\/li>\n<\/ul>\n<\/li>\n<li>Give the player more \u2018lives\u2019. So if they die (by pit or wumpus) they reappear in a random room.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Download the\u00a0Wumpus game shown in lectures. Examine the code try to follow how it works. Make the following changes to the game: Rearrange the rooms so that are in a 4\u00d75 grid. Make it so that the wumpus needs to be shot more than once (you choose how many times) to be killed. Each time [&hellip;]<\/p>\n","protected":false},"author":345,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[236],"tags":[],"class_list":["post-448","post","type-post","status-publish","format-standard","hentry","category-tutorials"],"_links":{"self":[{"href":"https:\/\/blogs.unsw.edu.au\/infs1609\/wp-json\/wp\/v2\/posts\/448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.unsw.edu.au\/infs1609\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.unsw.edu.au\/infs1609\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.unsw.edu.au\/infs1609\/wp-json\/wp\/v2\/users\/345"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.unsw.edu.au\/infs1609\/wp-json\/wp\/v2\/comments?post=448"}],"version-history":[{"count":4,"href":"https:\/\/blogs.unsw.edu.au\/infs1609\/wp-json\/wp\/v2\/posts\/448\/revisions"}],"predecessor-version":[{"id":452,"href":"https:\/\/blogs.unsw.edu.au\/infs1609\/wp-json\/wp\/v2\/posts\/448\/revisions\/452"}],"wp:attachment":[{"href":"https:\/\/blogs.unsw.edu.au\/infs1609\/wp-json\/wp\/v2\/media?parent=448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.unsw.edu.au\/infs1609\/wp-json\/wp\/v2\/categories?post=448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.unsw.edu.au\/infs1609\/wp-json\/wp\/v2\/tags?post=448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}