AlexMennen comments on Prisoner's Dilemma (with visible source code) Tournament - Less Wrong

47 Post author: AlexMennen 07 June 2013 08:30AM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (232)

You are viewing a single comment's thread. Show more comments above.

Comment author: Mestroyer 06 June 2013 12:06:25AM 11 points [-]

If you can tell where in the stack you are (like you could with C), you could tell if you were being run by the main program, or by another contestant. Can you?

Comment author: AlexMennen 06 June 2013 12:36:55AM 1 point [-]

I don't know of a way to do that.

Comment author: Eugine_Nier 07 June 2013 03:39:34AM 3 points [-]

One way is to recursively call a bunch of functions and catch the resulting "recursion limit exceeded" exception.