Skip to content

Instantly share code, notes, and snippets.

@audreyt
Created February 17, 2012 08:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save audreyt/1851858 to your computer and use it in GitHub Desktop.
Save audreyt/1851858 to your computer and use it in GitHub Desktop.
The "Monkey's Ministry of Truth" strategy for Iterated Prisoner Dilemma
au => -> :@theirs, *% {
use MONKEY_TYPING;
my role TRUE {};
augment class Bool {
method Stringy(Bool:D:) {
self.^does(TRUE) ?? 'True' !! 'False'
}
}
False but TRUE;
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment