Re:Show HN: The Choice – An online programming puzzle RPG
by tempestn on Friday May 31, 2013 @02:20AM
(#5797192)
The language is irrelevant. It's coffeescript, but the whole thing is 'beatable' with an understanding of logic by following its instructions.
If you've never programmed before at all, some parts would indeed be tricky, including the part you mentioned. Still, if you understand how to solve the logic puzzle, you could do it using a temporary variable as previously demonstrated, rather than the more natural (to programmers) nested calls.
Re:Show HN: The Choice – An online programming puzzle RPG
by nddrylliog on Friday May 31, 2013 @08:34AM
(#5798171)
That's exactly the point of the game :) Thanks for explaining it.
Did you not post this expecting constructive feedback? Snark aside, chapter 1 of what? You haven't made it clear what this really is. Is this python? Do you want to use a game to teach the language or is this just a game and the language is irrelevant?
On the question I was having trouble with I was over thinking the isTrue method. It just wasn't all that clear to me until I did some pseudo debugging with it.