{"id":35,"date":"2023-05-18T13:00:00","date_gmt":"2023-05-18T17:00:00","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/53-353\/m2023\/?p=35"},"modified":"2023-05-18T10:31:54","modified_gmt":"2023-05-18T14:31:54","slug":"assignment-1-paddles","status":"publish","type":"post","link":"https:\/\/courses.ideate.cmu.edu\/53-353\/m2023\/?p=35","title":{"rendered":"Assignment 1: Paddles"},"content":{"rendered":"\n<p>For our first week, we will keep things relatively simple \u2013 you will add the two features outlined below to our game. Try to get these working to the best of your ability. For this first assignment you will be graded on the attempt rather than the execution.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Requirements:<\/h2>\n\n\n\n<p><strong>CHALLENGE #1)\u00a0<\/strong>\u00a0Make the ball bounce off of the paddles by adding on to the reflection techniques implemented in class on Friday.\u00a0 You only need to bounce the ball off of the \u201cfront\u201d face of the paddle \u2013 you can ignore the tops, bottoms, and backs for now. (Unless you like a challenge)<\/p>\n\n\n\n<p><strong>CHALLENGE #2)&nbsp;&nbsp;<\/strong>&nbsp;Constrict the movement of the paddles to keep them inside the playing field.&nbsp; This process should look similar to the one we applied to the ball \u2013 detecting an object outside of range and correcting the position.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Deliverable Directions:<\/strong><\/h3>\n\n\n\n<p>A Box folder with the name 53353-assign-&lt;your-andrew-id&gt;\u201d has been created and shared with you. This is where you will submit all future assignments. Be sure to create a new folder in here for each new submission, labeled with the assignment number.<\/p>\n\n\n\n<p>For this assignment:<\/p>\n\n\n\n<ol>\n<li>Create a folder titled&nbsp;<strong>Assignment 1<\/strong>.<\/li>\n\n\n\n<li>Submit your\u00a0<strong>script file\u00a0<\/strong>in that folder. This is the \u201cHardPong.cs\u201d file (or whatever you may have named that script).<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">DUE DATE:<\/h3>\n\n\n\n<p>Your submission is due\u00a0<strong>Monday, 5\/22 @ 12:30pm<\/strong>. Please make sure to submit this on time, as we will be discussing the results in class.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><a class=\"more-link\"  href=\"https:\/\/courses.ideate.cmu.edu\/53-353\/m2023\/?p=35\"><span class=\"more-text\"><\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"greenlet_layout":[]},"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/courses.ideate.cmu.edu\/53-353\/m2023\/index.php?rest_route=\/wp\/v2\/posts\/35"}],"collection":[{"href":"https:\/\/courses.ideate.cmu.edu\/53-353\/m2023\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/courses.ideate.cmu.edu\/53-353\/m2023\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/53-353\/m2023\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/53-353\/m2023\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=35"}],"version-history":[{"count":2,"href":"https:\/\/courses.ideate.cmu.edu\/53-353\/m2023\/index.php?rest_route=\/wp\/v2\/posts\/35\/revisions"}],"predecessor-version":[{"id":156,"href":"https:\/\/courses.ideate.cmu.edu\/53-353\/m2023\/index.php?rest_route=\/wp\/v2\/posts\/35\/revisions\/156"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/53-353\/m2023\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=35"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/53-353\/m2023\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=35"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/53-353\/m2023\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}