{"action":"created","issue":{"url":"https://api.github.com/repos/clux/duel/issues/8","labels_url":"https://api.github.com/repos/clux/duel/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/clux/duel/issues/8/comments","events_url":"https://api.github.com/repos/clux/duel/issues/8/events","html_url":"https://github.com/clux/duel/issues/8","id":109633963,"number":8,"title":"how do I know what match is next?","user":{"login":"seiyria","id":763609,"avatar_url":"https://avatars.githubusercontent.com/u/763609?v=3","gravatar_id":"","url":"https://api.github.com/users/seiyria","html_url":"https://github.com/seiyria","followers_url":"https://api.github.com/users/seiyria/followers","following_url":"https://api.github.com/users/seiyria/following{/other_user}","gists_url":"https://api.github.com/users/seiyria/gists{/gist_id}","starred_url":"https://api.github.com/users/seiyria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seiyria/subscriptions","organizations_url":"https://api.github.com/users/seiyria/orgs","repos_url":"https://api.github.com/users/seiyria/repos","events_url":"https://api.github.com/users/seiyria/events{/privacy}","received_events_url":"https://api.github.com/users/seiyria/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2015-10-03T17:09:52Z","updated_at":"2015-10-06T12:48:08Z","closed_at":"2015-10-03T21:31:30Z","body":"Suppose I have a 5 player single elimination tournament:\r\n\r\n![](http://puu.sh/kx8jB/c4c1a19e26.png)\r\n\r\n0 and 1 have to face off first to determine who can face 4. How do I know what the next match for 0 and 1 is? I want to draw a line between them.\r\n\r\nI've tried `duelInst.right(0)`, `duelInst.down(0)`, and `duelInst.upcoming(0)` (as well as for 1), but none of these seem to give me the `id` of the next match. Did I miss something?\r\n"},"comment":{"url":"https://api.github.com/repos/clux/duel/issues/comments/145846719","html_url":"https://github.com/clux/duel/issues/8#issuecomment-145846719","issue_url":"https://api.github.com/repos/clux/duel/issues/8","id":145846719,"user":{"login":"seiyria","id":763609,"avatar_url":"https://avatars.githubusercontent.com/u/763609?v=3","gravatar_id":"","url":"https://api.github.com/users/seiyria","html_url":"https://github.com/seiyria","followers_url":"https://api.github.com/users/seiyria/followers","following_url":"https://api.github.com/users/seiyria/following{/other_user}","gists_url":"https://api.github.com/users/seiyria/gists{/gist_id}","starred_url":"https://api.github.com/users/seiyria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seiyria/subscriptions","organizations_url":"https://api.github.com/users/seiyria/orgs","repos_url":"https://api.github.com/users/seiyria/repos","events_url":"https://api.github.com/users/seiyria/events{/privacy}","received_events_url":"https://api.github.com/users/seiyria/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T12:48:08Z","updated_at":"2015-10-06T12:48:08Z","body":"You're right, and I'm glad you are. Granted I haven't fixed the issue but what you're showing me is replicable on my side. Times like these I wish some structures were easily made immutable! Thanks again."}}