{"action":"opened","issue":{"url":"https://api.github.com/repos/Salaboy/drools-game-engine/issues/8","repository_url":"https://api.github.com/repos/Salaboy/drools-game-engine","labels_url":"https://api.github.com/repos/Salaboy/drools-game-engine/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/Salaboy/drools-game-engine/issues/8/comments","events_url":"https://api.github.com/repos/Salaboy/drools-game-engine/issues/8/events","html_url":"https://github.com/Salaboy/drools-game-engine/issues/8","id":169306526,"number":8,"title":"Create and Implement relevant methods in GameService","user":{"login":"Salaboy","id":271966,"avatar_url":"https://avatars.githubusercontent.com/u/271966?v=3","gravatar_id":"","url":"https://api.github.com/users/Salaboy","html_url":"https://github.com/Salaboy","followers_url":"https://api.github.com/users/Salaboy/followers","following_url":"https://api.github.com/users/Salaboy/following{/other_user}","gists_url":"https://api.github.com/users/Salaboy/gists{/gist_id}","starred_url":"https://api.github.com/users/Salaboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Salaboy/subscriptions","organizations_url":"https://api.github.com/users/Salaboy/orgs","repos_url":"https://api.github.com/users/Salaboy/repos","events_url":"https://api.github.com/users/Salaboy/events{/privacy}","received_events_url":"https://api.github.com/users/Salaboy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-04T07:12:28Z","updated_at":"2016-08-04T07:12:28Z","closed_at":null,"body":"The GameService interface should expose all the relevant lifecycle methods of the GameSession, so we can create GameSessions by using this interface for several Game instances with different players. This interface (as GameSession) should allows us to see which players are in each session as well. \r\n\r\nI would start with void drop(Player p)  (which in the service should be drop(String sessionId, String playerName)) and void destroy() which in the service should  be something like destroy(String sessionId). And the test for such methods, where you create different game sessions join multiple players, assert them and then drop and destroy the game sessions. It will be a nice to have, that you cannot destroy a session if there is a player still there. "}}
{"actor":{"display_login":"Salaboy"}}