{"id":2143,"date":"2020-04-27T22:11:47","date_gmt":"2020-04-27T22:11:47","guid":{"rendered":"http:\/\/sycamore.mrwrightsclass.co.uk\/?page_id=2143"},"modified":"2021-04-20T22:03:52","modified_gmt":"2021-04-20T22:03:52","slug":"maze-game-week-2","status":"publish","type":"page","link":"http:\/\/sycamore.mrwrightsclass.co.uk\/?page_id=2143","title":{"rendered":"Maze Game Week 2"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"430\" height=\"177\" src=\"http:\/\/sycamore.mrwrightsclass.co.uk\/wp-content\/uploads\/2020\/03\/scratch-1.png\" alt=\"\" class=\"wp-image-1298\" srcset=\"http:\/\/sycamore.mrwrightsclass.co.uk\/wp-content\/uploads\/2020\/03\/scratch-1.png 430w, http:\/\/sycamore.mrwrightsclass.co.uk\/wp-content\/uploads\/2020\/03\/scratch-1-300x123.png 300w\" sizes=\"auto, (max-width: 430px) 100vw, 430px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">This is the second lesson in which you are going to learn how to code a maze game, using variables and use &#8220;if statements&#8221;. <strong><em>You will need to have completed lesson 1 (<a href=\"http:\/\/sycamore.mrwrightsclass.co.uk\/?page_id=1941\" target=\"_blank\" rel=\"noreferrer noopener\">HERE<\/a>) before you start today&#8217;s lesson.<\/em><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> Do what you feel your brain can cope with. NEVER copy code &#8211; watch the videos then have a go yourself.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What have we done?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Open your game. You should have:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Written code to move a sprite in four directions using arrow keys<\/li><li>Created a maze<\/li><li>Written code so that your sprite goes back to the start if it touches the maze.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Today&#8217;s lesson &#8211; Creating Levels<\/h2>\n\n\n\n<h2 class=\"wp-block-heading\"><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I suggest that you watch the video to begin with, then try to complete the work (rather than keep stopping the video and completing each small step). You will learn more trying to figure out how to do things. You can always go back to the video if you get stuck.<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"616\" style=\"aspect-ratio: 1358 \/ 616;\" width=\"1358\" controls src=\"http:\/\/sycamore.mrwrightsclass.co.uk\/wp-content\/uploads\/2020\/04\/Lesson-2.mp4\"><\/video><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>This is the second lesson in which you are going to learn how to code a maze game, using variables and use &#8220;if statements&#8221;. You will need to have completed lesson 1 (HERE) before you start today&#8217;s lesson. Do what you feel your brain can cope with. NEVER copy code &#8211; watch the videos then &hellip; <a class=\"read-excerpt\" href=\"http:\/\/sycamore.mrwrightsclass.co.uk\/?page_id=2143\">Continue reading <span class=\"meta-nav\">&raquo;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":1297,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2143","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/sycamore.mrwrightsclass.co.uk\/index.php?rest_route=\/wp\/v2\/pages\/2143","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/sycamore.mrwrightsclass.co.uk\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/sycamore.mrwrightsclass.co.uk\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/sycamore.mrwrightsclass.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/sycamore.mrwrightsclass.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2143"}],"version-history":[{"count":4,"href":"http:\/\/sycamore.mrwrightsclass.co.uk\/index.php?rest_route=\/wp\/v2\/pages\/2143\/revisions"}],"predecessor-version":[{"id":2150,"href":"http:\/\/sycamore.mrwrightsclass.co.uk\/index.php?rest_route=\/wp\/v2\/pages\/2143\/revisions\/2150"}],"up":[{"embeddable":true,"href":"http:\/\/sycamore.mrwrightsclass.co.uk\/index.php?rest_route=\/wp\/v2\/pages\/1297"}],"wp:attachment":[{"href":"http:\/\/sycamore.mrwrightsclass.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2143"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}