{"action":"opened","issue":{"url":"https://api.github.com/repos/netlight/pongbattle/issues/4","labels_url":"https://api.github.com/repos/netlight/pongbattle/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/netlight/pongbattle/issues/4/comments","events_url":"https://api.github.com/repos/netlight/pongbattle/issues/4/events","html_url":"https://github.com/netlight/pongbattle/issues/4","id":92002479,"number":4,"title":"more features for the contestant","user":{"login":"maurermax","id":8026463,"avatar_url":"https://avatars.githubusercontent.com/u/8026463?v=3","gravatar_id":"","url":"https://api.github.com/users/maurermax","html_url":"https://github.com/maurermax","followers_url":"https://api.github.com/users/maurermax/followers","following_url":"https://api.github.com/users/maurermax/following{/other_user}","gists_url":"https://api.github.com/users/maurermax/gists{/gist_id}","starred_url":"https://api.github.com/users/maurermax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maurermax/subscriptions","organizations_url":"https://api.github.com/users/maurermax/orgs","repos_url":"https://api.github.com/users/maurermax/repos","events_url":"https://api.github.com/users/maurermax/events{/privacy}","received_events_url":"https://api.github.com/users/maurermax/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-30T06:31:18Z","updated_at":"2015-06-30T06:31:18Z","closed_at":null,"body":"the contestants should have more features available. for example controlling the height and speed of the paddle by setting percentages. such that the creators can assign 100 points to height and speed in total to vary the behavior of their paddles. \r\n\r\nfor this we should change the way a contestant is created by not only being a function declaration but rather by declaring a whole object.\r\n\r\n\r\ninstead of `return 1`they could be forced to created something like:\r\n\r\n`````\r\n{\r\n   height: 50,\r\n   speed: 50,\r\n   compute: function(dt, gameInfo, ballInfo, myPaddleInfo, otherPaddleInfo) {\r\n      return 1;\r\n   }\r\n}\r\n````"}}