{"action":"created","comment":{"url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/pulls/comments/53496961","id":53496961,"diff_hunk":"@@ -0,0 +1,263 @@\n+'use strict'\r\n+\r\n+var canvas = document.getElementById(\"myCanvas\");\r\n+var ctx = canvas.getContext(\"2d\");\r\n+var CANVAS_HEIGHT = canvas.height;\r\n+var CANVAS_WIDTH = canvas.width;\r\n+var TRACK_HEIGHT = CANVAS_HEIGHT/2;\r\n+var TRACK_WIDTH = CANVAS_WIDTH;\r\n+var TRACK_Y = CANVAS_WIDTH/8;\r\n+var TRACK_X = 0;\r\n+var CAR_WIDTH = 100;\r\n+var CAR_HEIGHT = 50;\r\n+var carOne = {\r\n+  x: TRACK_X + 10,\r\n+  y: TRACK_Y + 40\r\n+};\r\n+var carTwo = {\r\n+  x: TRACK_X + 10,\r\n+  y: TRACK_Y + 220\r\n+};\r\n+var dx = 2;\r\n+var dy = -2;\r\n+var rightKeyPressed = false;\r\n+var leftKeyPressed = false;\r\n+var upKeyPressed = false;\r\n+var downKeyPressed = false;\r\n+var dKeyPressed = false;\r\n+var aKeyPressed = false;\r\n+var wKeyPressed = false;\r\n+var sKeyPressed = false;\r\n+var raceStarted = false;\r\n+var COUNT = 3;\r\n+\r\n+document.addEventListener(\"keydown\", keyDownHandler, false);\r\n+document.addEventListener(\"keyup\", keyUpHandler, false);\r\n+\r\n+function keyDownHandler(event) {\r\n+  if(event.keyCode === 39) {\r\n+    rightKeyPressed = true;        \r\n+  }\r\n+\r\n+  if(event.keyCode === 37) {\r\n+    leftKeyPressed  = true;        \r\n+  }\r\n+  \r\n+  // Allow the car to turn only when moving fordwards or backwards\r\n+  if(event.keyCode === 38 && (rightKeyPressed || leftKeyPressed)) {\r\n+    upKeyPressed = true;        \r\n+  }\r\n+  // Allow the car to turn only when moving fordwards or backwards\r\n+  if(event.keyCode === 40 && (rightKeyPressed || leftKeyPressed)) {\r\n+    downKeyPressed  = true;        \r\n+  }\r\n+  \r\n+  if(event.keyCode === 68) {\r\n+    dKeyPressed = true;        \r\n+  }\r\n+\r\n+  if(event.keyCode === 65) {\r\n+    aKeyPressed  = true;        \r\n+  }\r\n+  // Allow the car to turn only when moving fordwards or backwards\r\n+  if(event.keyCode === 87 && (dKeyPressed || aKeyPressed)) {\r\n+    wKeyPressed = true;        \r\n+  }\r\n+  // Allow the car to turn only when moving fordwards or backwards\r\n+  if(event.keyCode === 83 && (dKeyPressed || aKeyPressed)) {\r\n+    sKeyPressed  = true;        \r\n+  }\r\n+  \r\n+  // Pause game\r\n+  if (event.keyCode === 80) {\r\n+    raceStarted = ! raceStarted;\r\n+  }\r\n+}\r\n+\r\n+function keyUpHandler(event) {\r\n+  if(event.keyCode === 39) {\r\n+    rightKeyPressed = false;        \r\n+  }\r\n+\r\n+  if(event.keyCode === 37) {\r\n+    leftKeyPressed  = false;        \r\n+  }\r\n+  \r\n+  if(event.keyCode === 38) {\r\n+    upKeyPressed = false;        \r\n+  }\r\n+\r\n+  if(event.keyCode === 40) {\r\n+    downKeyPressed  = false;        \r\n+  }\r\n+  \r\n+  if(event.keyCode === 68) {\r\n+    dKeyPressed = false;        \r\n+  }\r\n+\r\n+  if(event.keyCode === 65) {\r\n+    aKeyPressed  = false;        \r\n+  }\r\n+  \r\n+  if(event.keyCode === 87) {\r\n+    wKeyPressed = false;        \r\n+  }\r\n+\r\n+  if(event.keyCode === 83) {\r\n+    sKeyPressed  = false;        \r\n+  }\r\n+}\r\n+\r\n+\r\n+function drawCarOne(x, y) {\r\n+  var carOneImage = new Image();\r\n+  carOneImage.src=\"images/player-one-car.png\";\r\n+  ctx.drawImage(carOneImage, x, y);\r\n+}\r\n+\r\n+\r\n+function drawCarTwo(x, y) {\r\n+  var carTwoImage = new Image();\r\n+  carTwoImage.src=\"images/player-two-car.png\";\r\n+  ctx.drawImage(carTwoImage, x, y);\r\n+}\r\n+\r\n+\r\n+function drawRaceTrack() {\r\n+  ctx.beginPath();\r\n+  ctx.rect(TRACK_X, TRACK_Y, TRACK_WIDTH, TRACK_HEIGHT);\r\n+  ctx.fillStyle = \"#4f4f4f\";\r\n+  ctx.fill();\r\n+  ctx.closePath();\r\n+  for(var i=0, l=15; i<l; i++) {\r\n+    ctx.beginPath();\r\n+    ctx.rect(100 * i, 2 * TRACK_Y, 70, 10);\r\n+    ctx.fillStyle = \"white\";\r\n+    ctx.fill();\r\n+    ctx.closePath();\r\n+  }\r\n+  // Finish line\r\n+  ctx.beginPath();\r\n+  ctx.moveTo(canvas.width - CAR_WIDTH - 20, TRACK_Y);\r\n+  ctx.lineTo(canvas.width - CAR_WIDTH - 20, TRACK_Y + TRACK_HEIGHT);\r\n+  ctx.lineWidth = 5;\r\n+  ctx.strokeStyle = \"red\";\r\n+  ctx.stroke();\r\n+  ctx.closePath();\r\n+  \r\n+  // Start line\r\n+  ctx.beginPath();\r\n+  ctx.moveTo(TRACK_X + 10 + CAR_WIDTH, TRACK_Y);\r\n+  ctx.lineTo(TRACK_X + 10 + CAR_WIDTH, TRACK_Y + TRACK_HEIGHT);\r\n+  ctx.lineWidth = 5;\r\n+  ctx.strokeStyle = \"green\";\r\n+  ctx.stroke();\r\n+  ctx.closePath();\r\n+}\r\n+\r\n+// Detect collision between cars by checking\r\n+// if the rectangles representing both cars overlap\r\n+function detectCollision() {\r\n+  if (carOne.x < carTwo.x + CAR_WIDTH - 10 &&\r\n+      carOne.x + CAR_WIDTH - 10 > carTwo.x &&\r\n+      carOne.y < carTwo.y + CAR_HEIGHT - 10 &&\r\n+      CAR_HEIGHT - 10 + carOne.y > carTwo.y) {\r\n+    alert('Cars met with an accident. Starting a new race.');\r\n+    document.location.reload(); \r\n+  }\r\n+}\r\n+\r\n+function drawPauseText() {\r\n+  ctx.font=\"45px Arial\";\r\n+  ctx.fillStyle = \"#E53935\";\r\n+  ctx.textAlign = \"center\";\r\n+  ctx.fillText(\"Game Paused. Press 'P' to resume.\" , canvas.width/2, canvas.height/2);\r\n+}\r\n+\r\n+// Render all game components\r\n+function renderGame() {\r\n+  // Clear canvas before rendering\r\n+  ctx.clearRect(0, 0, canvas.width, canvas.height);\r\n+  // Draw components\r\n+  drawRaceTrack();\r\n+  drawCarOne(carOne.x, carOne.y);\r\n+  drawCarTwo(carTwo.x, carTwo.y);\r","path":"js/app.js","position":184,"original_position":184,"commit_id":"c5551a06cfb04020f2b63ebb833293c5388a7e69","original_commit_id":"c5551a06cfb04020f2b63ebb833293c5388a7e69","user":{"login":"utkarshsaxena","id":8184420,"avatar_url":"https://avatars.githubusercontent.com/u/8184420?v=3","gravatar_id":"","url":"https://api.github.com/users/utkarshsaxena","html_url":"https://github.com/utkarshsaxena","followers_url":"https://api.github.com/users/utkarshsaxena/followers","following_url":"https://api.github.com/users/utkarshsaxena/following{/other_user}","gists_url":"https://api.github.com/users/utkarshsaxena/gists{/gist_id}","starred_url":"https://api.github.com/users/utkarshsaxena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utkarshsaxena/subscriptions","organizations_url":"https://api.github.com/users/utkarshsaxena/orgs","repos_url":"https://api.github.com/users/utkarshsaxena/repos","events_url":"https://api.github.com/users/utkarshsaxena/events{/privacy}","received_events_url":"https://api.github.com/users/utkarshsaxena/received_events","type":"User","site_admin":false},"body":"Good catch Mark. Initializing the car images for every loop isn't very performant. I should have instantiated the `carOneImage` and `carTwoImage` outside the function (globally) and only left the `ctx.drawImage` inside the function to be called for every renderGame loop. ","created_at":"2016-02-19T18:22:06Z","updated_at":"2016-02-19T18:22:06Z","html_url":"https://github.com/utkarshsaxena/builder-interview-2016-02-15/pull/1#discussion_r53496961","pull_request_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/pulls/comments/53496961"},"html":{"href":"https://github.com/utkarshsaxena/builder-interview-2016-02-15/pull/1#discussion_r53496961"},"pull_request":{"href":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/pulls/1","id":59897690,"html_url":"https://github.com/utkarshsaxena/builder-interview-2016-02-15/pull/1","diff_url":"https://github.com/utkarshsaxena/builder-interview-2016-02-15/pull/1.diff","patch_url":"https://github.com/utkarshsaxena/builder-interview-2016-02-15/pull/1.patch","issue_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/issues/1","number":1,"state":"open","locked":false,"title":"Coding challenge completed","user":{"login":"utkarshsaxena","id":8184420,"avatar_url":"https://avatars.githubusercontent.com/u/8184420?v=3","gravatar_id":"","url":"https://api.github.com/users/utkarshsaxena","html_url":"https://github.com/utkarshsaxena","followers_url":"https://api.github.com/users/utkarshsaxena/followers","following_url":"https://api.github.com/users/utkarshsaxena/following{/other_user}","gists_url":"https://api.github.com/users/utkarshsaxena/gists{/gist_id}","starred_url":"https://api.github.com/users/utkarshsaxena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utkarshsaxena/subscriptions","organizations_url":"https://api.github.com/users/utkarshsaxena/orgs","repos_url":"https://api.github.com/users/utkarshsaxena/repos","events_url":"https://api.github.com/users/utkarshsaxena/events{/privacy}","received_events_url":"https://api.github.com/users/utkarshsaxena/received_events","type":"User","site_admin":false},"body":"Please view the README.md\r\n\r\nThank you for your time.\r\n\r\n-Utkarsh","created_at":"2016-02-19T02:48:49Z","updated_at":"2016-02-19T18:22:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"344744326825e576bb8c2970f64c418eecbfa91d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/pulls/1/commits","review_comments_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/pulls/1/comments","review_comment_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/pulls/comments{/number}","comments_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/issues/1/comments","statuses_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/statuses/c5551a06cfb04020f2b63ebb833293c5388a7e69","head":{"label":"utkarshsaxena:utkarshsaxena-patch-1","ref":"utkarshsaxena-patch-1","sha":"c5551a06cfb04020f2b63ebb833293c5388a7e69","user":{"login":"utkarshsaxena","id":8184420,"avatar_url":"https://avatars.githubusercontent.com/u/8184420?v=3","gravatar_id":"","url":"https://api.github.com/users/utkarshsaxena","html_url":"https://github.com/utkarshsaxena","followers_url":"https://api.github.com/users/utkarshsaxena/followers","following_url":"https://api.github.com/users/utkarshsaxena/following{/other_user}","gists_url":"https://api.github.com/users/utkarshsaxena/gists{/gist_id}","starred_url":"https://api.github.com/users/utkarshsaxena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utkarshsaxena/subscriptions","organizations_url":"https://api.github.com/users/utkarshsaxena/orgs","repos_url":"https://api.github.com/users/utkarshsaxena/repos","events_url":"https://api.github.com/users/utkarshsaxena/events{/privacy}","received_events_url":"https://api.github.com/users/utkarshsaxena/received_events","type":"User","site_admin":false},"repo":{"id":52054157,"name":"builder-interview-2016-02-15","full_name":"utkarshsaxena/builder-interview-2016-02-15","owner":{"login":"utkarshsaxena","id":8184420,"avatar_url":"https://avatars.githubusercontent.com/u/8184420?v=3","gravatar_id":"","url":"https://api.github.com/users/utkarshsaxena","html_url":"https://github.com/utkarshsaxena","followers_url":"https://api.github.com/users/utkarshsaxena/followers","following_url":"https://api.github.com/users/utkarshsaxena/following{/other_user}","gists_url":"https://api.github.com/users/utkarshsaxena/gists{/gist_id}","starred_url":"https://api.github.com/users/utkarshsaxena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utkarshsaxena/subscriptions","organizations_url":"https://api.github.com/users/utkarshsaxena/orgs","repos_url":"https://api.github.com/users/utkarshsaxena/repos","events_url":"https://api.github.com/users/utkarshsaxena/events{/privacy}","received_events_url":"https://api.github.com/users/utkarshsaxena/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/utkarshsaxena/builder-interview-2016-02-15","description":"Page Builder Interview","fork":true,"url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15","forks_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/forks","keys_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/keys{/key_id}","collaborators_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/teams","hooks_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/hooks","issue_events_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/issues/events{/number}","events_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/events","assignees_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/assignees{/user}","branches_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/branches{/branch}","tags_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/tags","blobs_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/git/refs{/sha}","trees_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/git/trees{/sha}","statuses_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/statuses/{sha}","languages_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/languages","stargazers_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/stargazers","contributors_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/contributors","subscribers_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/subscribers","subscription_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/subscription","commits_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/commits{/sha}","git_commits_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/git/commits{/sha}","comments_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/comments{/number}","issue_comment_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/issues/comments{/number}","contents_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/contents/{+path}","compare_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/compare/{base}...{head}","merges_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/merges","archive_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/downloads","issues_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/issues{/number}","pulls_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/pulls{/number}","milestones_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/milestones{/number}","notifications_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/labels{/name}","releases_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/releases{/id}","deployments_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/deployments","created_at":"2016-02-19T02:05:45Z","updated_at":"2016-02-10T17:13:17Z","pushed_at":"2016-02-19T02:55:19Z","git_url":"git://github.com/utkarshsaxena/builder-interview-2016-02-15.git","ssh_url":"git@github.com:utkarshsaxena/builder-interview-2016-02-15.git","clone_url":"https://github.com/utkarshsaxena/builder-interview-2016-02-15.git","svn_url":"https://github.com/utkarshsaxena/builder-interview-2016-02-15","homepage":null,"size":14,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"utkarshsaxena:master","ref":"master","sha":"65302d9db0ccb68944a273c4403e1eee2f8b2129","user":{"login":"utkarshsaxena","id":8184420,"avatar_url":"https://avatars.githubusercontent.com/u/8184420?v=3","gravatar_id":"","url":"https://api.github.com/users/utkarshsaxena","html_url":"https://github.com/utkarshsaxena","followers_url":"https://api.github.com/users/utkarshsaxena/followers","following_url":"https://api.github.com/users/utkarshsaxena/following{/other_user}","gists_url":"https://api.github.com/users/utkarshsaxena/gists{/gist_id}","starred_url":"https://api.github.com/users/utkarshsaxena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utkarshsaxena/subscriptions","organizations_url":"https://api.github.com/users/utkarshsaxena/orgs","repos_url":"https://api.github.com/users/utkarshsaxena/repos","events_url":"https://api.github.com/users/utkarshsaxena/events{/privacy}","received_events_url":"https://api.github.com/users/utkarshsaxena/received_events","type":"User","site_admin":false},"repo":{"id":52054157,"name":"builder-interview-2016-02-15","full_name":"utkarshsaxena/builder-interview-2016-02-15","owner":{"login":"utkarshsaxena","id":8184420,"avatar_url":"https://avatars.githubusercontent.com/u/8184420?v=3","gravatar_id":"","url":"https://api.github.com/users/utkarshsaxena","html_url":"https://github.com/utkarshsaxena","followers_url":"https://api.github.com/users/utkarshsaxena/followers","following_url":"https://api.github.com/users/utkarshsaxena/following{/other_user}","gists_url":"https://api.github.com/users/utkarshsaxena/gists{/gist_id}","starred_url":"https://api.github.com/users/utkarshsaxena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utkarshsaxena/subscriptions","organizations_url":"https://api.github.com/users/utkarshsaxena/orgs","repos_url":"https://api.github.com/users/utkarshsaxena/repos","events_url":"https://api.github.com/users/utkarshsaxena/events{/privacy}","received_events_url":"https://api.github.com/users/utkarshsaxena/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/utkarshsaxena/builder-interview-2016-02-15","description":"Page Builder Interview","fork":true,"url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15","forks_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/forks","keys_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/keys{/key_id}","collaborators_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/teams","hooks_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/hooks","issue_events_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/issues/events{/number}","events_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/events","assignees_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/assignees{/user}","branches_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/branches{/branch}","tags_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/tags","blobs_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/git/refs{/sha}","trees_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/git/trees{/sha}","statuses_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/statuses/{sha}","languages_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/languages","stargazers_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/stargazers","contributors_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/contributors","subscribers_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/subscribers","subscription_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/subscription","commits_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/commits{/sha}","git_commits_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/git/commits{/sha}","comments_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/comments{/number}","issue_comment_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/issues/comments{/number}","contents_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/contents/{+path}","compare_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/compare/{base}...{head}","merges_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/merges","archive_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/downloads","issues_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/issues{/number}","pulls_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/pulls{/number}","milestones_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/milestones{/number}","notifications_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/labels{/name}","releases_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/releases{/id}","deployments_url":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/deployments","created_at":"2016-02-19T02:05:45Z","updated_at":"2016-02-10T17:13:17Z","pushed_at":"2016-02-19T02:55:19Z","git_url":"git://github.com/utkarshsaxena/builder-interview-2016-02-15.git","ssh_url":"git@github.com:utkarshsaxena/builder-interview-2016-02-15.git","clone_url":"https://github.com/utkarshsaxena/builder-interview-2016-02-15.git","svn_url":"https://github.com/utkarshsaxena/builder-interview-2016-02-15","homepage":null,"size":14,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/pulls/1"},"html":{"href":"https://github.com/utkarshsaxena/builder-interview-2016-02-15/pull/1"},"issue":{"href":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/issues/1"},"comments":{"href":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/utkarshsaxena/builder-interview-2016-02-15/statuses/c5551a06cfb04020f2b63ebb833293c5388a7e69"}}}}