{"id":460,"date":"2012-10-01T18:52:35","date_gmt":"2012-10-02T01:52:35","guid":{"rendered":"http:\/\/blogs.unsw.edu.au\/comp1400\/?p=460"},"modified":"2012-10-01T18:52:35","modified_gmt":"2012-10-02T01:52:35","slug":"tut-wk-11-wumpus","status":"publish","type":"post","link":"https:\/\/blogs.unsw.edu.au\/comp1400\/blog\/2012\/10\/tut-wk-11-wumpus\/","title":{"rendered":"Tut Wk 11 &#8211; Wumpus"},"content":{"rendered":"<p>Download the <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&#215;5 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 &#8216;hazard&#8217; &#8211; a Trader who gives the player more arrows. Consider:\n<ul>\n<li>What &#8216;warning&#8217; sound is heard if the trader is nearby?<\/li>\n<li>What happens when the player enters the trader&#8217;s 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 &#8216;lives&#8217;. So if they die (by pit or wumpus) they reappear in a random room.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Download the Wumpus 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&#215;5 grid. Make it so that the wumpus needs to be shot more than once (you choose how many times) to be killed. Each [&hellip;]<\/p>\n","protected":false},"author":80,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[630],"tags":[],"class_list":["post-460","post","type-post","status-publish","format-standard","hentry","category-lab"],"_links":{"self":[{"href":"https:\/\/blogs.unsw.edu.au\/comp1400\/wp-json\/wp\/v2\/posts\/460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.unsw.edu.au\/comp1400\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.unsw.edu.au\/comp1400\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.unsw.edu.au\/comp1400\/wp-json\/wp\/v2\/users\/80"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.unsw.edu.au\/comp1400\/wp-json\/wp\/v2\/comments?post=460"}],"version-history":[{"count":1,"href":"https:\/\/blogs.unsw.edu.au\/comp1400\/wp-json\/wp\/v2\/posts\/460\/revisions"}],"predecessor-version":[{"id":461,"href":"https:\/\/blogs.unsw.edu.au\/comp1400\/wp-json\/wp\/v2\/posts\/460\/revisions\/461"}],"wp:attachment":[{"href":"https:\/\/blogs.unsw.edu.au\/comp1400\/wp-json\/wp\/v2\/media?parent=460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.unsw.edu.au\/comp1400\/wp-json\/wp\/v2\/categories?post=460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.unsw.edu.au\/comp1400\/wp-json\/wp\/v2\/tags?post=460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}