{"id":980,"date":"2021-06-23T11:41:41","date_gmt":"2021-06-23T18:41:41","guid":{"rendered":"http:\/\/mirahan.faculty.unlv.edu\/summercode_2021\/?p=980"},"modified":"2021-06-23T11:47:30","modified_gmt":"2021-06-23T18:47:30","slug":"day-4-optional-race-game","status":"publish","type":"post","link":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2021\/class\/day-4-optional-race-game\/","title":{"rendered":"Day 4 optional race game"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Race Game &#8211; Events<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Here is something extra you can work on on Friday or during the weekend!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We&#8217;re going to learn about\u00a0a computer science concept called events while coding a racing game. We will start with watching the video below together. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/csfirst.withgoogle.com\/c\/cs-first\/en\/game-design\/racing-game\/opening-the-starter-project.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">https:\/\/csfirst.withgoogle.com\/c\/cs-first\/en\/game-design\/racing-game\/opening-the-starter-project.html<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s open up the starter project for race game.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/scratch.mit.edu\/projects\/20619111\/#editor\" target=\"_blank\">https:\/\/scratch.mit.edu\/projects\/20619111\/#editor<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We will first learn how to move the sprite forward, left and right with the arrow keys up, left and right. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/csfirst.withgoogle.com\/c\/cs-first\/en\/game-design\/racing-game\/move-the-sprite.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">https:\/\/csfirst.withgoogle.com\/c\/cs-first\/en\/game-design\/racing-game\/move-the-sprite.html<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Now let&#8217;s make the sprites move more smoothly, using the &#8220;Repeat Until&#8221; block.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/csfirst.withgoogle.com\/c\/cs-first\/en\/game-design\/racing-game\/moving-more-smoothly-with-repeat-until.html\" target=\"_blank\">https:\/\/csfirst.withgoogle.com\/c\/cs-first\/en\/game-design\/racing-game\/moving-more-smoothly-with-repeat-until.html<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here are some things you can add on to your Race game.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/csfirst.withgoogle.com\/c\/cs-first\/en\/game-design\/racing-game\/add-ons.html\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">https:\/\/csfirst.withgoogle.com\/c\/cs-first\/en\/game-design\/racing-game\/add-ons.html<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Race Game &#8211; Events Here is something extra you can work on on Friday or during the weekend! We&#8217;re going to learn about\u00a0a computer science concept called events while coding a racing game. We will start with watching the video below together. https:\/\/csfirst.withgoogle.com\/c\/cs-first\/en\/game-design\/racing-game\/opening-the-starter-project.html Let&#8217;s open up the starter project for race game. https:\/\/scratch.mit.edu\/projects\/20619111\/#editor We will [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-980","post","type-post","status-publish","format-standard","hentry","category-class"],"_links":{"self":[{"href":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2021\/wp-json\/wp\/v2\/posts\/980","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2021\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2021\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2021\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2021\/wp-json\/wp\/v2\/comments?post=980"}],"version-history":[{"count":4,"href":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2021\/wp-json\/wp\/v2\/posts\/980\/revisions"}],"predecessor-version":[{"id":994,"href":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2021\/wp-json\/wp\/v2\/posts\/980\/revisions\/994"}],"wp:attachment":[{"href":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2021\/wp-json\/wp\/v2\/media?parent=980"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2021\/wp-json\/wp\/v2\/categories?post=980"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mirahan.faculty.unlv.edu\/summercode_2021\/wp-json\/wp\/v2\/tags?post=980"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}