{"id":106,"date":"2011-12-02T09:28:29","date_gmt":"2011-12-02T09:28:29","guid":{"rendered":"http:\/\/www.pwnict.co.uk\/progweb\/wordpress\/?page_id=106"},"modified":"2013-06-15T06:22:09","modified_gmt":"2013-06-15T06:22:09","slug":"functions","status":"publish","type":"page","link":"https:\/\/www.ihaz.codes\/UoB\/tasks\/functions\/","title":{"rendered":"Functions"},"content":{"rendered":"<p>In this section you can find tasks based on functions.<\/p>\n<p><code><div class=\"child_pages child_pages-thumbnail\">\n<div id=\"child_page-94\" class=\"child_page\" style=\"width:50%;max-width:100%;\"><div class=\"child_page-container\"><div class=\"post_content\"><h4><a href=\"https:\/\/www.ihaz.codes\/UoB\/tasks\/functions\/hangman\/\">Hangman<\/a><\/h4><div class=\"post_excerpt\">You need to create your own version of the classic game of Hangman. You will need to get a random word out of an array of available words, display the length of the word, give the user X amount of lives and if they guess correctly you need to display[read more]<\/div><\/div><!-- .post_content  --><\/div><!-- .child_page-container --><\/div><!-- #child_page-94\" -->\n\n<div id=\"child_page-709\" class=\"child_page\" style=\"width:50%;max-width:100%;\"><div class=\"child_page-container\"><div class=\"post_content\"><h4><a href=\"https:\/\/www.ihaz.codes\/UoB\/tasks\/functions\/the-super-merge-cipher\/\">The super merge cipher!<\/a><\/h4><div class=\"post_excerpt\">Shhh. They are listening! We need a plan&#8230; I know, let us use a cipher to hide our conversations. That way they will not understand what we say. The cipher works like this. You take a sentence and split it into two lists. One has[read more]<\/div><\/div><!-- .post_content  --><\/div><!-- .child_page-container --><\/div><!-- #child_page-709\" -->\n\n<div id=\"child_page-696\" class=\"child_page\" style=\"width:50%;max-width:100%;\"><div class=\"child_page-container\"><div class=\"post_content\"><h4><a href=\"https:\/\/www.ihaz.codes\/UoB\/tasks\/functions\/tic-tac-toe\/\">Tic Tac Toe<\/a><\/h4><div class=\"post_excerpt\">You are to write a Tic Tac Toe game. This must be broken down into functions to make the task easier. Your game must do the following &#8211; Display a Tic Tac Toe board after every go Allow a human to play against the computer<\/div><\/div><!-- .post_content  --><\/div><!-- .child_page-container --><\/div><!-- #child_page-696\" -->\n<\/div><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this section you can find tasks based on functions.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":562,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"categories":[],"class_list":["post-106","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/comments?post=106"}],"version-history":[{"count":0,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/106\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/562"}],"wp:attachment":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/media?parent=106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/categories?post=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}