{"action":"created","issue":{"url":"https://api.github.com/repos/leletec/mpmp/issues/112","repository_url":"https://api.github.com/repos/leletec/mpmp","labels_url":"https://api.github.com/repos/leletec/mpmp/issues/112/labels{/name}","comments_url":"https://api.github.com/repos/leletec/mpmp/issues/112/comments","events_url":"https://api.github.com/repos/leletec/mpmp/issues/112/events","html_url":"https://github.com/leletec/mpmp/issues/112","id":163521218,"number":112,"title":"Make client-side model update-only","user":{"login":"okitec","id":18419680,"avatar_url":"https://avatars.githubusercontent.com/u/18419680?v=3","gravatar_id":"","url":"https://api.github.com/users/okitec","html_url":"https://github.com/okitec","followers_url":"https://api.github.com/users/okitec/followers","following_url":"https://api.github.com/users/okitec/following{/other_user}","gists_url":"https://api.github.com/users/okitec/gists{/gist_id}","starred_url":"https://api.github.com/users/okitec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okitec/subscriptions","organizations_url":"https://api.github.com/users/okitec/orgs","repos_url":"https://api.github.com/users/okitec/repos","events_url":"https://api.github.com/users/okitec/events{/privacy}","received_events_url":"https://api.github.com/users/okitec/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/leletec/mpmp/labels/high-prio","name":"high-prio","color":"e99695"},{"url":"https://api.github.com/repos/leletec/mpmp/labels/refactor","name":"refactor","color":"c5def5"}],"state":"open","locked":false,"assignee":{"login":"okitec","id":18419680,"avatar_url":"https://avatars.githubusercontent.com/u/18419680?v=3","gravatar_id":"","url":"https://api.github.com/users/okitec","html_url":"https://github.com/okitec","followers_url":"https://api.github.com/users/okitec/followers","following_url":"https://api.github.com/users/okitec/following{/other_user}","gists_url":"https://api.github.com/users/okitec/gists{/gist_id}","starred_url":"https://api.github.com/users/okitec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okitec/subscriptions","organizations_url":"https://api.github.com/users/okitec/orgs","repos_url":"https://api.github.com/users/okitec/repos","events_url":"https://api.github.com/users/okitec/events{/privacy}","received_events_url":"https://api.github.com/users/okitec/received_events","type":"User","site_admin":false},"assignees":[{"login":"okitec","id":18419680,"avatar_url":"https://avatars.githubusercontent.com/u/18419680?v=3","gravatar_id":"","url":"https://api.github.com/users/okitec","html_url":"https://github.com/okitec","followers_url":"https://api.github.com/users/okitec/followers","following_url":"https://api.github.com/users/okitec/following{/other_user}","gists_url":"https://api.github.com/users/okitec/gists{/gist_id}","starred_url":"https://api.github.com/users/okitec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okitec/subscriptions","organizations_url":"https://api.github.com/users/okitec/orgs","repos_url":"https://api.github.com/users/okitec/repos","events_url":"https://api.github.com/users/okitec/events{/privacy}","received_events_url":"https://api.github.com/users/okitec/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/leletec/mpmp/milestones/3","html_url":"https://github.com/leletec/mpmp/milestones/Beta%20Version","labels_url":"https://api.github.com/repos/leletec/mpmp/milestones/3/labels","id":1875445,"number":3,"title":"Beta Version","description":"To be finished before the summer holidays.","creator":{"login":"leletec","id":18560551,"avatar_url":"https://avatars.githubusercontent.com/u/18560551?v=3","gravatar_id":"","url":"https://api.github.com/users/leletec","html_url":"https://github.com/leletec","followers_url":"https://api.github.com/users/leletec/followers","following_url":"https://api.github.com/users/leletec/following{/other_user}","gists_url":"https://api.github.com/users/leletec/gists{/gist_id}","starred_url":"https://api.github.com/users/leletec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leletec/subscriptions","organizations_url":"https://api.github.com/users/leletec/orgs","repos_url":"https://api.github.com/users/leletec/repos","events_url":"https://api.github.com/users/leletec/events{/privacy}","received_events_url":"https://api.github.com/users/leletec/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":5,"state":"open","created_at":"2016-07-11T10:28:57Z","updated_at":"2016-07-16T20:59:28Z","due_on":"2016-07-28T22:00:00Z","closed_at":null},"comments":3,"created_at":"2016-07-02T14:40:01Z","updated_at":"2016-07-20T17:55:37Z","closed_at":null,"body":"`Player`s and the other model classes should be distinct in client and server. In the client, these classes should only store the info needed in the client. The only methods are getters and setters. The setters are called by update package handlers (`money-update`, `plot-update`, ...).\r\n\r\nThe server side should extend or **embed** the client-side class and add all the game logic methods (`move`, `buyPlot`, ...).\r\n\r\nAfter all, the client only caches the server's authorative model."},"comment":{"url":"https://api.github.com/repos/leletec/mpmp/issues/comments/234028514","html_url":"https://github.com/leletec/mpmp/issues/112#issuecomment-234028514","issue_url":"https://api.github.com/repos/leletec/mpmp/issues/112","id":234028514,"user":{"login":"okitec","id":18419680,"avatar_url":"https://avatars.githubusercontent.com/u/18419680?v=3","gravatar_id":"","url":"https://api.github.com/users/okitec","html_url":"https://github.com/okitec","followers_url":"https://api.github.com/users/okitec/followers","following_url":"https://api.github.com/users/okitec/following{/other_user}","gists_url":"https://api.github.com/users/okitec/gists{/gist_id}","starred_url":"https://api.github.com/users/okitec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okitec/subscriptions","organizations_url":"https://api.github.com/users/okitec/orgs","repos_url":"https://api.github.com/users/okitec/repos","events_url":"https://api.github.com/users/okitec/events{/privacy}","received_events_url":"https://api.github.com/users/okitec/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T17:55:37Z","updated_at":"2016-07-20T17:55:37Z","body":"I made further progress today: the client side is done. The game logic has not been separated from the client/data-only classes yet and the server side is rather unhelpful because I deactivated some packets:\r\n - `end-turn`\r\n - `start-game`\r\n - (*what else? I already forgot...*)\r\n\r\nOnce the server-side model works as well, I'll finally make a pull request. Only then."}}
{"actor":{"display_login":"okitec"}}