News for hackers. Stuff that matters.
Re:Show HN: The Choice – An online programming puzzle RPG by matchu on Thursday May 30, 2013 @07:50PM (#5796001)
Is there an API reference? I don't remember how to ask a guard for a key, and apparently it's not guard.askKey.

edit: Ahh, got it. The @key was already given to me (was this specified somewhere?), so the guard didn't support askKey. I wonder if there's a more appropriate response than not having the method, but I'm not sure what it would be.

Re:Show HN: The Choice – An online programming puzzle RPG by tempestn on Friday May 31, 2013 @02:13AM (#5797176)
Yes, this got me too. I expected that it would be required to ask the guard for another key, and when that was supported I figured I must've misremembered the command. Then I tried passing in my previous key variable in case it was still stored there. Took a while to try unlocking without specifying a key.
Re:Show HN: The Choice – An online programming puzzle RPG by Timothee on Thursday May 30, 2013 @08:23PM (#5796099)
Had the same problem: I thought I had to add on top of the previous step. But asking for the key and unlocking the door was not necessary at that step.
Re:Show HN: The Choice – An online programming puzzle RPG by effbott on Thursday May 30, 2013 @08:00PM (#5796031)
'guard' is just a placeholder. Try typing

    key = @xzoor.askKey(@door)
Re:Show HN: The Choice – An online programming puzzle RPG by matchu on Thursday May 30, 2013 @08:03PM (#5796036)
Yeah, it was my placeholder. I was being told that @xzoor didn't have an askKey method, because it looks like he only does on the one level where you're told to ask him for it.