{"action":"opened","number":11,"pull_request":{"url":"https://api.github.com/repos/shaunanoordin/avo-adventure/pulls/11","id":83559065,"html_url":"https://github.com/shaunanoordin/avo-adventure/pull/11","diff_url":"https://github.com/shaunanoordin/avo-adventure/pull/11.diff","patch_url":"https://github.com/shaunanoordin/avo-adventure/pull/11.patch","issue_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/issues/11","number":11,"state":"open","locked":false,"title":"Organise code with webpack","user":{"login":"shaunanoordin","id":13952701,"avatar_url":"https://avatars.githubusercontent.com/u/13952701?v=3","gravatar_id":"","url":"https://api.github.com/users/shaunanoordin","html_url":"https://github.com/shaunanoordin","followers_url":"https://api.github.com/users/shaunanoordin/followers","following_url":"https://api.github.com/users/shaunanoordin/following{/other_user}","gists_url":"https://api.github.com/users/shaunanoordin/gists{/gist_id}","starred_url":"https://api.github.com/users/shaunanoordin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaunanoordin/subscriptions","organizations_url":"https://api.github.com/users/shaunanoordin/orgs","repos_url":"https://api.github.com/users/shaunanoordin/repos","events_url":"https://api.github.com/users/shaunanoordin/events{/privacy}","received_events_url":"https://api.github.com/users/shaunanoordin/received_events","type":"User","site_admin":false},"body":"The monolithic `main.js` code has been broken down into smaller components that are then bundled together during compilation via `webpack`.\r\n* JS files in the `src` folder are divided into module-like subfolders, with `src/avo` containing the main engine code and the `src/example-game` folder containing code related to the implementation of a specific game idea.\r\n* Similarly with images in the `assets` folder, they're now organised into subfolders.\r\n\r\nA special dev note goes to the names used.\r\n* `AvO` is the main game engine, and it sits in `src/avo/index.js`. (Note the small 'v' between the capital 'A' and 'O'.)\r\n* When a file imports multiple values from `src/avo/constants.js`, we prefix those values with `AVO` (note the all caps), for example `AVO.FRAMES_PER_SECOND`","created_at":"2016-09-01T02:03:47Z","updated_at":"2016-09-01T02:03:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/pulls/11/commits","review_comments_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/pulls/11/comments","review_comment_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/issues/11/comments","statuses_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/statuses/c8a9cf26404972e434d393af70b2903d0241d134","head":{"label":"shaunanoordin:webpack-organisation","ref":"webpack-organisation","sha":"c8a9cf26404972e434d393af70b2903d0241d134","user":{"login":"shaunanoordin","id":13952701,"avatar_url":"https://avatars.githubusercontent.com/u/13952701?v=3","gravatar_id":"","url":"https://api.github.com/users/shaunanoordin","html_url":"https://github.com/shaunanoordin","followers_url":"https://api.github.com/users/shaunanoordin/followers","following_url":"https://api.github.com/users/shaunanoordin/following{/other_user}","gists_url":"https://api.github.com/users/shaunanoordin/gists{/gist_id}","starred_url":"https://api.github.com/users/shaunanoordin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaunanoordin/subscriptions","organizations_url":"https://api.github.com/users/shaunanoordin/orgs","repos_url":"https://api.github.com/users/shaunanoordin/repos","events_url":"https://api.github.com/users/shaunanoordin/events{/privacy}","received_events_url":"https://api.github.com/users/shaunanoordin/received_events","type":"User","site_admin":false},"repo":{"id":58976047,"name":"avo-adventure","full_name":"shaunanoordin/avo-adventure","owner":{"login":"shaunanoordin","id":13952701,"avatar_url":"https://avatars.githubusercontent.com/u/13952701?v=3","gravatar_id":"","url":"https://api.github.com/users/shaunanoordin","html_url":"https://github.com/shaunanoordin","followers_url":"https://api.github.com/users/shaunanoordin/followers","following_url":"https://api.github.com/users/shaunanoordin/following{/other_user}","gists_url":"https://api.github.com/users/shaunanoordin/gists{/gist_id}","starred_url":"https://api.github.com/users/shaunanoordin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaunanoordin/subscriptions","organizations_url":"https://api.github.com/users/shaunanoordin/orgs","repos_url":"https://api.github.com/users/shaunanoordin/repos","events_url":"https://api.github.com/users/shaunanoordin/events{/privacy}","received_events_url":"https://api.github.com/users/shaunanoordin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shaunanoordin/avo-adventure","description":"AvO Adventure Game","fork":false,"url":"https://api.github.com/repos/shaunanoordin/avo-adventure","forks_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/forks","keys_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/teams","hooks_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/hooks","issue_events_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/issues/events{/number}","events_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/events","assignees_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/assignees{/user}","branches_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/branches{/branch}","tags_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/tags","blobs_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/git/refs{/sha}","trees_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/statuses/{sha}","languages_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/languages","stargazers_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/stargazers","contributors_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/contributors","subscribers_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/subscribers","subscription_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/subscription","commits_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/commits{/sha}","git_commits_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/git/commits{/sha}","comments_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/comments{/number}","issue_comment_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/issues/comments{/number}","contents_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/contents/{+path}","compare_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/merges","archive_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/downloads","issues_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/issues{/number}","pulls_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/pulls{/number}","milestones_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/milestones{/number}","notifications_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/labels{/name}","releases_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/releases{/id}","deployments_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/deployments","created_at":"2016-05-16T23:55:15Z","updated_at":"2016-05-17T23:38:09Z","pushed_at":"2016-09-01T02:03:47Z","git_url":"git://github.com/shaunanoordin/avo-adventure.git","ssh_url":"git@github.com:shaunanoordin/avo-adventure.git","clone_url":"https://github.com/shaunanoordin/avo-adventure.git","svn_url":"https://github.com/shaunanoordin/avo-adventure","homepage":null,"size":118,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"shaunanoordin:master","ref":"master","sha":"bda4ec2490881e3af05ec444b8c3ba63b1ce64ce","user":{"login":"shaunanoordin","id":13952701,"avatar_url":"https://avatars.githubusercontent.com/u/13952701?v=3","gravatar_id":"","url":"https://api.github.com/users/shaunanoordin","html_url":"https://github.com/shaunanoordin","followers_url":"https://api.github.com/users/shaunanoordin/followers","following_url":"https://api.github.com/users/shaunanoordin/following{/other_user}","gists_url":"https://api.github.com/users/shaunanoordin/gists{/gist_id}","starred_url":"https://api.github.com/users/shaunanoordin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaunanoordin/subscriptions","organizations_url":"https://api.github.com/users/shaunanoordin/orgs","repos_url":"https://api.github.com/users/shaunanoordin/repos","events_url":"https://api.github.com/users/shaunanoordin/events{/privacy}","received_events_url":"https://api.github.com/users/shaunanoordin/received_events","type":"User","site_admin":false},"repo":{"id":58976047,"name":"avo-adventure","full_name":"shaunanoordin/avo-adventure","owner":{"login":"shaunanoordin","id":13952701,"avatar_url":"https://avatars.githubusercontent.com/u/13952701?v=3","gravatar_id":"","url":"https://api.github.com/users/shaunanoordin","html_url":"https://github.com/shaunanoordin","followers_url":"https://api.github.com/users/shaunanoordin/followers","following_url":"https://api.github.com/users/shaunanoordin/following{/other_user}","gists_url":"https://api.github.com/users/shaunanoordin/gists{/gist_id}","starred_url":"https://api.github.com/users/shaunanoordin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaunanoordin/subscriptions","organizations_url":"https://api.github.com/users/shaunanoordin/orgs","repos_url":"https://api.github.com/users/shaunanoordin/repos","events_url":"https://api.github.com/users/shaunanoordin/events{/privacy}","received_events_url":"https://api.github.com/users/shaunanoordin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/shaunanoordin/avo-adventure","description":"AvO Adventure Game","fork":false,"url":"https://api.github.com/repos/shaunanoordin/avo-adventure","forks_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/forks","keys_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/teams","hooks_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/hooks","issue_events_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/issues/events{/number}","events_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/events","assignees_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/assignees{/user}","branches_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/branches{/branch}","tags_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/tags","blobs_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/git/refs{/sha}","trees_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/statuses/{sha}","languages_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/languages","stargazers_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/stargazers","contributors_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/contributors","subscribers_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/subscribers","subscription_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/subscription","commits_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/commits{/sha}","git_commits_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/git/commits{/sha}","comments_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/comments{/number}","issue_comment_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/issues/comments{/number}","contents_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/contents/{+path}","compare_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/merges","archive_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/downloads","issues_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/issues{/number}","pulls_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/pulls{/number}","milestones_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/milestones{/number}","notifications_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/labels{/name}","releases_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/releases{/id}","deployments_url":"https://api.github.com/repos/shaunanoordin/avo-adventure/deployments","created_at":"2016-05-16T23:55:15Z","updated_at":"2016-05-17T23:38:09Z","pushed_at":"2016-09-01T02:03:47Z","git_url":"git://github.com/shaunanoordin/avo-adventure.git","ssh_url":"git@github.com:shaunanoordin/avo-adventure.git","clone_url":"https://github.com/shaunanoordin/avo-adventure.git","svn_url":"https://github.com/shaunanoordin/avo-adventure","homepage":null,"size":118,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/shaunanoordin/avo-adventure/pulls/11"},"html":{"href":"https://github.com/shaunanoordin/avo-adventure/pull/11"},"issue":{"href":"https://api.github.com/repos/shaunanoordin/avo-adventure/issues/11"},"comments":{"href":"https://api.github.com/repos/shaunanoordin/avo-adventure/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/shaunanoordin/avo-adventure/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/shaunanoordin/avo-adventure/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shaunanoordin/avo-adventure/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/shaunanoordin/avo-adventure/statuses/c8a9cf26404972e434d393af70b2903d0241d134"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":3834,"deletions":3704,"changed_files":20}}
{"actor":{"display_login":"shaunanoordin"}}