{"action":"created","issue":{"url":"https://api.github.com/repos/CodeLiftSleep/Goal-Line-Stand-Football/issues/2","repository_url":"https://api.github.com/repos/CodeLiftSleep/Goal-Line-Stand-Football","labels_url":"https://api.github.com/repos/CodeLiftSleep/Goal-Line-Stand-Football/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/CodeLiftSleep/Goal-Line-Stand-Football/issues/2/comments","events_url":"https://api.github.com/repos/CodeLiftSleep/Goal-Line-Stand-Football/issues/2/events","html_url":"https://github.com/CodeLiftSleep/Goal-Line-Stand-Football/issues/2","id":135959285,"number":2,"title":"Fix Scheduler","user":{"login":"CodeLiftSleep","id":17439424,"avatar_url":"https://avatars.githubusercontent.com/u/17439424?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeLiftSleep","html_url":"https://github.com/CodeLiftSleep","followers_url":"https://api.github.com/users/CodeLiftSleep/followers","following_url":"https://api.github.com/users/CodeLiftSleep/following{/other_user}","gists_url":"https://api.github.com/users/CodeLiftSleep/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeLiftSleep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeLiftSleep/subscriptions","organizations_url":"https://api.github.com/users/CodeLiftSleep/orgs","repos_url":"https://api.github.com/users/CodeLiftSleep/repos","events_url":"https://api.github.com/users/CodeLiftSleep/events{/privacy}","received_events_url":"https://api.github.com/users/CodeLiftSleep/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CodeLiftSleep/Goal-Line-Stand-Football/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"CodeLiftSleep","id":17439424,"avatar_url":"https://avatars.githubusercontent.com/u/17439424?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeLiftSleep","html_url":"https://github.com/CodeLiftSleep","followers_url":"https://api.github.com/users/CodeLiftSleep/followers","following_url":"https://api.github.com/users/CodeLiftSleep/following{/other_user}","gists_url":"https://api.github.com/users/CodeLiftSleep/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeLiftSleep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeLiftSleep/subscriptions","organizations_url":"https://api.github.com/users/CodeLiftSleep/orgs","repos_url":"https://api.github.com/users/CodeLiftSleep/repos","events_url":"https://api.github.com/users/CodeLiftSleep/events{/privacy}","received_events_url":"https://api.github.com/users/CodeLiftSleep/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-02-24T05:21:59Z","updated_at":"2016-02-29T05:50:44Z","closed_at":null,"body":"*EndWithDivisionGames needs to be fixed to properly run through all divisions, and then add those games to the last 2 weeks of the schedule---should be a relatively easy fix.  \r\n\r\nTeams is returning a collection of collections(Home and Away), but may modify it to return a single collection and simply alternate Home team and Away Team, adding it to the full scheduler by iterating over the collection using Step 2...\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/CodeLiftSleep/Goal-Line-Stand-Football/issues/comments/190056337","html_url":"https://github.com/CodeLiftSleep/Goal-Line-Stand-Football/issues/2#issuecomment-190056337","issue_url":"https://api.github.com/repos/CodeLiftSleep/Goal-Line-Stand-Football/issues/2","id":190056337,"user":{"login":"CodeLiftSleep","id":17439424,"avatar_url":"https://avatars.githubusercontent.com/u/17439424?v=3","gravatar_id":"","url":"https://api.github.com/users/CodeLiftSleep","html_url":"https://github.com/CodeLiftSleep","followers_url":"https://api.github.com/users/CodeLiftSleep/followers","following_url":"https://api.github.com/users/CodeLiftSleep/following{/other_user}","gists_url":"https://api.github.com/users/CodeLiftSleep/gists{/gist_id}","starred_url":"https://api.github.com/users/CodeLiftSleep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CodeLiftSleep/subscriptions","organizations_url":"https://api.github.com/users/CodeLiftSleep/orgs","repos_url":"https://api.github.com/users/CodeLiftSleep/repos","events_url":"https://api.github.com/users/CodeLiftSleep/events{/privacy}","received_events_url":"https://api.github.com/users/CodeLiftSleep/received_events","type":"User","site_admin":false},"created_at":"2016-02-29T05:50:44Z","updated_at":"2016-02-29T05:50:44Z","body":"fixed issue, rewrote the entire sub i much more concise code and much easier to follow.\r\nTeams now have last 2 games with divisional opponents.  \r\n\r\nWant to do 2 more things to this:\r\n\r\n1) Make sure teams can only play 3 consecutive home or road games\r\n2) Make sure no teams play each other in back to back weeks(this is only a concern with the divisional games since they play each other twice a season)\r\n\r\nAttached a sample schedule for next season's games.\r\n[Schedule.txt](https://github.com/CodeLiftSleep/Goal-Line-Stand-Football/files/150414/Schedule.txt)\r\n"}}