{"action":"closed","issue":{"url":"https://api.github.com/repos/ahodges13/Conway-s-Game-of-Life/issues/3","labels_url":"https://api.github.com/repos/ahodges13/Conway-s-Game-of-Life/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/ahodges13/Conway-s-Game-of-Life/issues/3/comments","events_url":"https://api.github.com/repos/ahodges13/Conway-s-Game-of-Life/issues/3/events","html_url":"https://github.com/ahodges13/Conway-s-Game-of-Life/issues/3","id":90193434,"number":3,"title":"REFACTOR: Underscore.js - start game function","user":{"login":"twilson63","id":21292,"avatar_url":"https://avatars.githubusercontent.com/u/21292?v=3","gravatar_id":"","url":"https://api.github.com/users/twilson63","html_url":"https://github.com/twilson63","followers_url":"https://api.github.com/users/twilson63/followers","following_url":"https://api.github.com/users/twilson63/following{/other_user}","gists_url":"https://api.github.com/users/twilson63/gists{/gist_id}","starred_url":"https://api.github.com/users/twilson63/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twilson63/subscriptions","organizations_url":"https://api.github.com/users/twilson63/orgs","repos_url":"https://api.github.com/users/twilson63/repos","events_url":"https://api.github.com/users/twilson63/events{/privacy}","received_events_url":"https://api.github.com/users/twilson63/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-06-22T19:48:09Z","updated_at":"2015-06-25T18:54:16Z","closed_at":"2015-06-25T18:54:16Z","body":"Have you ever used underscore.js\r\n\r\nTake a look at the _.times function and see if you can use it to refactor the start game code and remove the for loops.  For loops in javascript can make scoping hard, by using iterators you create closures and control the local scope much easier.\r\n\r\ntake a look at \r\n\r\n`http://underscorejs.org/#times`\r\n\r\nand try to re-implement the start game function with no for loops.\r\n\r\n"}}