{"action":"created","comment":{"url":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/comments/57394075","id":57394075,"diff_hunk":"@@ -1,41 +1,52 @@\n-**WDI Fundamentals Unit 4**\n+# Unit 4 Homework: Game Logic\n \n----\n+In Unit 4, we covered some game-changing concepts (pun intended). For example, can you guess what type of feature we can now begin to implement in our memory card game? If you guessed game logic, you're right! For this section's homework, you will implement your knowledge of conditionals to help with the task of creating your game logic.\n \n-## Project\n+## Exercise\n \n-Let's use what we've just learned about control flow to make some more progress on our 'Rock Paper Scissors' project.\n+#### Requirements\n \n----\n+Based on whether or not your user discovers a match, notify them with a winning or losing message in a popup message using `alert`.\n+**Hint:** What's an `alert`? Check out the documentation <a href=\"https://developer.mozilla.org/en-US/docs/Web/API/Window/alert\" target=\"_blank\">here</a>\n+\n+>**Note:** In some of our other exercises, we have used `console.log` to give feedback from our code. However, as we start to have a more \"user facing\" mindset, we begin to code in a way that makes more sense for the user. For our game, this means notifying the user about a win or a loss with a popup rather than the console, a place where most users don't look.\n+\n+##### Below are the steps to complete the assignment.\n+\n+1) Create an `if else` statement checking for equality between two of your cards (you choose which ones).\n \n-Open up `RockPaperScissors.js` in your text editor of choice, and scroll down to the following code:\n+```js\n+// `if` statement should consist of a boolean checking for equality between your created variables\n+if (cardTwo === cardsThree) {","path":"04_chapter/09_assessment.md","position":26,"original_position":26,"commit_id":"8f64dc7ed51d0e0deca7e95c22371b8c2f7cb383","original_commit_id":"8f64dc7ed51d0e0deca7e95c22371b8c2f7cb383","user":{"login":"adambray","id":75565,"avatar_url":"https://avatars.githubusercontent.com/u/75565?v=3","gravatar_id":"","url":"https://api.github.com/users/adambray","html_url":"https://github.com/adambray","followers_url":"https://api.github.com/users/adambray/followers","following_url":"https://api.github.com/users/adambray/following{/other_user}","gists_url":"https://api.github.com/users/adambray/gists{/gist_id}","starred_url":"https://api.github.com/users/adambray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adambray/subscriptions","organizations_url":"https://api.github.com/users/adambray/orgs","repos_url":"https://api.github.com/users/adambray/repos","events_url":"https://api.github.com/users/adambray/events{/privacy}","received_events_url":"https://api.github.com/users/adambray/received_events","type":"User","site_admin":false},"body":"`/s/cardsThree/cardThree`","created_at":"2016-03-24T21:53:50Z","updated_at":"2016-03-24T21:53:50Z","html_url":"https://github.com/GA-WDI/fundamentals/pull/106#discussion_r57394075","pull_request_url":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/106","_links":{"self":{"href":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/comments/57394075"},"html":{"href":"https://github.com/GA-WDI/fundamentals/pull/106#discussion_r57394075"},"pull_request":{"href":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/106"}}},"pull_request":{"url":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/106","id":64102777,"html_url":"https://github.com/GA-WDI/fundamentals/pull/106","diff_url":"https://github.com/GA-WDI/fundamentals/pull/106.diff","patch_url":"https://github.com/GA-WDI/fundamentals/pull/106.patch","issue_url":"https://api.github.com/repos/GA-WDI/fundamentals/issues/106","number":106,"state":"open","locked":false,"title":"Opening PR on 2.2 update for feedback","user":{"login":"adambray","id":75565,"avatar_url":"https://avatars.githubusercontent.com/u/75565?v=3","gravatar_id":"","url":"https://api.github.com/users/adambray","html_url":"https://github.com/adambray","followers_url":"https://api.github.com/users/adambray/followers","following_url":"https://api.github.com/users/adambray/following{/other_user}","gists_url":"https://api.github.com/users/adambray/gists{/gist_id}","starred_url":"https://api.github.com/users/adambray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adambray/subscriptions","organizations_url":"https://api.github.com/users/adambray/orgs","repos_url":"https://api.github.com/users/adambray/repos","events_url":"https://api.github.com/users/adambray/events{/privacy}","received_events_url":"https://api.github.com/users/adambray/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-24T21:37:18Z","updated_at":"2016-03-24T21:53:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a97ee894513acf802a5997113bfbea971608975","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/106/commits","review_comments_url":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/106/comments","review_comment_url":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GA-WDI/fundamentals/issues/106/comments","statuses_url":"https://api.github.com/repos/GA-WDI/fundamentals/statuses/8f64dc7ed51d0e0deca7e95c22371b8c2f7cb383","head":{"label":"GA-WDI:hw-assignments","ref":"hw-assignments","sha":"8f64dc7ed51d0e0deca7e95c22371b8c2f7cb383","user":{"login":"GA-WDI","id":11040407,"avatar_url":"https://avatars.githubusercontent.com/u/11040407?v=3","gravatar_id":"","url":"https://api.github.com/users/GA-WDI","html_url":"https://github.com/GA-WDI","followers_url":"https://api.github.com/users/GA-WDI/followers","following_url":"https://api.github.com/users/GA-WDI/following{/other_user}","gists_url":"https://api.github.com/users/GA-WDI/gists{/gist_id}","starred_url":"https://api.github.com/users/GA-WDI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GA-WDI/subscriptions","organizations_url":"https://api.github.com/users/GA-WDI/orgs","repos_url":"https://api.github.com/users/GA-WDI/repos","events_url":"https://api.github.com/users/GA-WDI/events{/privacy}","received_events_url":"https://api.github.com/users/GA-WDI/received_events","type":"Organization","site_admin":false},"repo":{"id":29885766,"name":"fundamentals","full_name":"GA-WDI/fundamentals","owner":{"login":"GA-WDI","id":11040407,"avatar_url":"https://avatars.githubusercontent.com/u/11040407?v=3","gravatar_id":"","url":"https://api.github.com/users/GA-WDI","html_url":"https://github.com/GA-WDI","followers_url":"https://api.github.com/users/GA-WDI/followers","following_url":"https://api.github.com/users/GA-WDI/following{/other_user}","gists_url":"https://api.github.com/users/GA-WDI/gists{/gist_id}","starred_url":"https://api.github.com/users/GA-WDI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GA-WDI/subscriptions","organizations_url":"https://api.github.com/users/GA-WDI/orgs","repos_url":"https://api.github.com/users/GA-WDI/repos","events_url":"https://api.github.com/users/GA-WDI/events{/privacy}","received_events_url":"https://api.github.com/users/GA-WDI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GA-WDI/fundamentals","description":"WDI prework","fork":false,"url":"https://api.github.com/repos/GA-WDI/fundamentals","forks_url":"https://api.github.com/repos/GA-WDI/fundamentals/forks","keys_url":"https://api.github.com/repos/GA-WDI/fundamentals/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GA-WDI/fundamentals/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GA-WDI/fundamentals/teams","hooks_url":"https://api.github.com/repos/GA-WDI/fundamentals/hooks","issue_events_url":"https://api.github.com/repos/GA-WDI/fundamentals/issues/events{/number}","events_url":"https://api.github.com/repos/GA-WDI/fundamentals/events","assignees_url":"https://api.github.com/repos/GA-WDI/fundamentals/assignees{/user}","branches_url":"https://api.github.com/repos/GA-WDI/fundamentals/branches{/branch}","tags_url":"https://api.github.com/repos/GA-WDI/fundamentals/tags","blobs_url":"https://api.github.com/repos/GA-WDI/fundamentals/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GA-WDI/fundamentals/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GA-WDI/fundamentals/git/refs{/sha}","trees_url":"https://api.github.com/repos/GA-WDI/fundamentals/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GA-WDI/fundamentals/statuses/{sha}","languages_url":"https://api.github.com/repos/GA-WDI/fundamentals/languages","stargazers_url":"https://api.github.com/repos/GA-WDI/fundamentals/stargazers","contributors_url":"https://api.github.com/repos/GA-WDI/fundamentals/contributors","subscribers_url":"https://api.github.com/repos/GA-WDI/fundamentals/subscribers","subscription_url":"https://api.github.com/repos/GA-WDI/fundamentals/subscription","commits_url":"https://api.github.com/repos/GA-WDI/fundamentals/commits{/sha}","git_commits_url":"https://api.github.com/repos/GA-WDI/fundamentals/git/commits{/sha}","comments_url":"https://api.github.com/repos/GA-WDI/fundamentals/comments{/number}","issue_comment_url":"https://api.github.com/repos/GA-WDI/fundamentals/issues/comments{/number}","contents_url":"https://api.github.com/repos/GA-WDI/fundamentals/contents/{+path}","compare_url":"https://api.github.com/repos/GA-WDI/fundamentals/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GA-WDI/fundamentals/merges","archive_url":"https://api.github.com/repos/GA-WDI/fundamentals/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GA-WDI/fundamentals/downloads","issues_url":"https://api.github.com/repos/GA-WDI/fundamentals/issues{/number}","pulls_url":"https://api.github.com/repos/GA-WDI/fundamentals/pulls{/number}","milestones_url":"https://api.github.com/repos/GA-WDI/fundamentals/milestones{/number}","notifications_url":"https://api.github.com/repos/GA-WDI/fundamentals/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GA-WDI/fundamentals/labels{/name}","releases_url":"https://api.github.com/repos/GA-WDI/fundamentals/releases{/id}","deployments_url":"https://api.github.com/repos/GA-WDI/fundamentals/deployments","created_at":"2015-01-26T22:46:21Z","updated_at":"2016-03-04T22:31:33Z","pushed_at":"2016-03-24T21:37:18Z","git_url":"git://github.com/GA-WDI/fundamentals.git","ssh_url":"git@github.com:GA-WDI/fundamentals.git","clone_url":"https://github.com/GA-WDI/fundamentals.git","svn_url":"https://github.com/GA-WDI/fundamentals","homepage":"http://fundamentals.generalassemb.ly","size":53117,"stargazers_count":8,"watchers_count":8,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":4,"forks":14,"open_issues":4,"watchers":8,"default_branch":"master"}},"base":{"label":"GA-WDI:master","ref":"master","sha":"c03a3232ac5a147f110fb82544ac6481613ef7c3","user":{"login":"GA-WDI","id":11040407,"avatar_url":"https://avatars.githubusercontent.com/u/11040407?v=3","gravatar_id":"","url":"https://api.github.com/users/GA-WDI","html_url":"https://github.com/GA-WDI","followers_url":"https://api.github.com/users/GA-WDI/followers","following_url":"https://api.github.com/users/GA-WDI/following{/other_user}","gists_url":"https://api.github.com/users/GA-WDI/gists{/gist_id}","starred_url":"https://api.github.com/users/GA-WDI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GA-WDI/subscriptions","organizations_url":"https://api.github.com/users/GA-WDI/orgs","repos_url":"https://api.github.com/users/GA-WDI/repos","events_url":"https://api.github.com/users/GA-WDI/events{/privacy}","received_events_url":"https://api.github.com/users/GA-WDI/received_events","type":"Organization","site_admin":false},"repo":{"id":29885766,"name":"fundamentals","full_name":"GA-WDI/fundamentals","owner":{"login":"GA-WDI","id":11040407,"avatar_url":"https://avatars.githubusercontent.com/u/11040407?v=3","gravatar_id":"","url":"https://api.github.com/users/GA-WDI","html_url":"https://github.com/GA-WDI","followers_url":"https://api.github.com/users/GA-WDI/followers","following_url":"https://api.github.com/users/GA-WDI/following{/other_user}","gists_url":"https://api.github.com/users/GA-WDI/gists{/gist_id}","starred_url":"https://api.github.com/users/GA-WDI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GA-WDI/subscriptions","organizations_url":"https://api.github.com/users/GA-WDI/orgs","repos_url":"https://api.github.com/users/GA-WDI/repos","events_url":"https://api.github.com/users/GA-WDI/events{/privacy}","received_events_url":"https://api.github.com/users/GA-WDI/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GA-WDI/fundamentals","description":"WDI prework","fork":false,"url":"https://api.github.com/repos/GA-WDI/fundamentals","forks_url":"https://api.github.com/repos/GA-WDI/fundamentals/forks","keys_url":"https://api.github.com/repos/GA-WDI/fundamentals/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GA-WDI/fundamentals/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GA-WDI/fundamentals/teams","hooks_url":"https://api.github.com/repos/GA-WDI/fundamentals/hooks","issue_events_url":"https://api.github.com/repos/GA-WDI/fundamentals/issues/events{/number}","events_url":"https://api.github.com/repos/GA-WDI/fundamentals/events","assignees_url":"https://api.github.com/repos/GA-WDI/fundamentals/assignees{/user}","branches_url":"https://api.github.com/repos/GA-WDI/fundamentals/branches{/branch}","tags_url":"https://api.github.com/repos/GA-WDI/fundamentals/tags","blobs_url":"https://api.github.com/repos/GA-WDI/fundamentals/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GA-WDI/fundamentals/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GA-WDI/fundamentals/git/refs{/sha}","trees_url":"https://api.github.com/repos/GA-WDI/fundamentals/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GA-WDI/fundamentals/statuses/{sha}","languages_url":"https://api.github.com/repos/GA-WDI/fundamentals/languages","stargazers_url":"https://api.github.com/repos/GA-WDI/fundamentals/stargazers","contributors_url":"https://api.github.com/repos/GA-WDI/fundamentals/contributors","subscribers_url":"https://api.github.com/repos/GA-WDI/fundamentals/subscribers","subscription_url":"https://api.github.com/repos/GA-WDI/fundamentals/subscription","commits_url":"https://api.github.com/repos/GA-WDI/fundamentals/commits{/sha}","git_commits_url":"https://api.github.com/repos/GA-WDI/fundamentals/git/commits{/sha}","comments_url":"https://api.github.com/repos/GA-WDI/fundamentals/comments{/number}","issue_comment_url":"https://api.github.com/repos/GA-WDI/fundamentals/issues/comments{/number}","contents_url":"https://api.github.com/repos/GA-WDI/fundamentals/contents/{+path}","compare_url":"https://api.github.com/repos/GA-WDI/fundamentals/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GA-WDI/fundamentals/merges","archive_url":"https://api.github.com/repos/GA-WDI/fundamentals/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GA-WDI/fundamentals/downloads","issues_url":"https://api.github.com/repos/GA-WDI/fundamentals/issues{/number}","pulls_url":"https://api.github.com/repos/GA-WDI/fundamentals/pulls{/number}","milestones_url":"https://api.github.com/repos/GA-WDI/fundamentals/milestones{/number}","notifications_url":"https://api.github.com/repos/GA-WDI/fundamentals/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GA-WDI/fundamentals/labels{/name}","releases_url":"https://api.github.com/repos/GA-WDI/fundamentals/releases{/id}","deployments_url":"https://api.github.com/repos/GA-WDI/fundamentals/deployments","created_at":"2015-01-26T22:46:21Z","updated_at":"2016-03-04T22:31:33Z","pushed_at":"2016-03-24T21:37:18Z","git_url":"git://github.com/GA-WDI/fundamentals.git","ssh_url":"git@github.com:GA-WDI/fundamentals.git","clone_url":"https://github.com/GA-WDI/fundamentals.git","svn_url":"https://github.com/GA-WDI/fundamentals","homepage":"http://fundamentals.generalassemb.ly","size":53117,"stargazers_count":8,"watchers_count":8,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":4,"forks":14,"open_issues":4,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/106"},"html":{"href":"https://github.com/GA-WDI/fundamentals/pull/106"},"issue":{"href":"https://api.github.com/repos/GA-WDI/fundamentals/issues/106"},"comments":{"href":"https://api.github.com/repos/GA-WDI/fundamentals/issues/106/comments"},"review_comments":{"href":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/106/comments"},"review_comment":{"href":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GA-WDI/fundamentals/pulls/106/commits"},"statuses":{"href":"https://api.github.com/repos/GA-WDI/fundamentals/statuses/8f64dc7ed51d0e0deca7e95c22371b8c2f7cb383"}}}}