payload: {"action":"created","issue":{"url":"https://api.github.com/repos/widelands/widelands-issue-migration/issues/334","repository_url":"https://api.github.com/repos/widelands/widelands-issue-migration","labels_url":"https://api.github.com/repos/widelands/widelands-issue-migration/issues/334/labels{/name}","comments_url":"https://api.github.com/repos/widelands/widelands-issue-migration/issues/334/comments","events_url":"https://api.github.com/repos/widelands/widelands-issue-migration/issues/334/events","html_url":"https://github.com/widelands/widelands-issue-migration/issues/334","id":490812222,"node_id":"MDU6SXNzdWU0OTA4MTIyMjI=","number":334,"title":"show game results screen","user":{"login":"bunnybot","id":16499926,"node_id":"MDQ6VXNlcjE2NDk5OTI2","avatar_url":"https://avatars2.githubusercontent.com/u/16499926?v=4","gravatar_id":"","url":"https://api.github.com/users/bunnybot","html_url":"https://github.com/bunnybot","followers_url":"https://api.github.com/users/bunnybot/followers","following_url":"https://api.github.com/users/bunnybot/following{/other_user}","gists_url":"https://api.github.com/users/bunnybot/gists{/gist_id}","starred_url":"https://api.github.com/users/bunnybot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bunnybot/subscriptions","organizations_url":"https://api.github.com/users/bunnybot/orgs","repos_url":"https://api.github.com/users/bunnybot/repos","events_url":"https://api.github.com/users/bunnybot/events{/privacy}","received_events_url":"https://api.github.com/users/bunnybot/received_events","type":"User","site_admin":false},"labels":[{"id":1544289033,"node_id":"MDU6TGFiZWwxNTQ0Mjg5MDMz","url":"https://api.github.com/repos/widelands/widelands-issue-migration/labels/Fix%20Released","name":"Fix Released","color":"ddffdd","default":false},{"id":1544289062,"node_id":"MDU6TGFiZWwxNTQ0Mjg5MDYy","url":"https://api.github.com/repos/widelands/widelands-issue-migration/labels/High","name":"High","color":"ffdddd","default":false},{"id":1544290505,"node_id":"MDU6TGFiZWwxNTQ0MjkwNTA1","url":"https://api.github.com/repos/widelands/widelands-issue-migration/labels/lua","name":"lua","color":"ededed","default":false},{"id":1544290460,"node_id":"MDU6TGFiZWwxNTQ0MjkwNDYw","url":"https://api.github.com/repos/widelands/widelands-issue-migration/labels/multiplayer","name":"multiplayer","color":"ededed","default":false},{"id":1544291481,"node_id":"MDU6TGFiZWwxNTQ0MjkxNDgx","url":"https://api.github.com/repos/widelands/widelands-issue-migration/labels/winconditions","name":"winconditions","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2019-09-08T22:03:34Z","updated_at":"2019-09-08T23:24:44Z","closed_at":null,"author_association":"COLLABORATOR","body":"currently the winning condition only send a message to the players. At least in a multi player game the winning condition should end the game.\n\nIf a player is defeated he should not be able to influence the game any more. Perhaps a defeated player should then get in some sort of spectator mode.\n\nIf one (or more) player won the game it should end. The state of a player should be available outside of lua.\n\nIt this works it's easy to report games to the metaserver"},"comment":{"url":"https://api.github.com/repos/widelands/widelands-issue-migration/issues/comments/529253428","html_url":"https://github.com/widelands/widelands-issue-migration/issues/334#issuecomment-529253428","issue_url":"https://api.github.com/repos/widelands/widelands-issue-migration/issues/334","id":529253428,"node_id":"MDEyOklzc3VlQ29tbWVudDUyOTI1MzQyOA==","user":{"login":"bunnybot","id":16499926,"node_id":"MDQ6VXNlcjE2NDk5OTI2","avatar_url":"https://avatars2.githubusercontent.com/u/16499926?v=4","gravatar_id":"","url":"https://api.github.com/users/bunnybot","html_url":"https://github.com/bunnybot","followers_url":"https://api.github.com/users/bunnybot/followers","following_url":"https://api.github.com/users/bunnybot/following{/other_user}","gists_url":"https://api.github.com/users/bunnybot/gists{/gist_id}","starred_url":"https://api.github.com/users/bunnybot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bunnybot/subscriptions","organizations_url":"https://api.github.com/users/bunnybot/orgs","repos_url":"https://api.github.com/users/bunnybot/repos","events_url":"https://api.github.com/users/bunnybot/events{/privacy}","received_events_url":"https://api.github.com/users/bunnybot/received_events","type":"User","site_admin":false},"created_at":"2019-09-08T23:24:44Z","updated_at":"2019-09-08T23:24:44Z","author_association":"COLLABORATOR","body":"(by timo-wingender)\nI have added the interface in the widelands-server branch as\n\nGameController::report_result(int player, int points, std::string extra)"}}
other: {"actor":{"display_login":"bunnybot"}}