From 5fc7655fa7cae5ff720be20c25af5ae092442792 Mon Sep 17 00:00:00 2001 From: carykh Date: Sun, 16 May 2021 17:04:38 -0700 Subject: [PATCH 01/24] Update alwaysCooperate.py --- code/exampleStrats/alwaysCooperate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/exampleStrats/alwaysCooperate.py b/code/exampleStrats/alwaysCooperate.py index 68752fd..aa76c46 100644 --- a/code/exampleStrats/alwaysCooperate.py +++ b/code/exampleStrats/alwaysCooperate.py @@ -1,2 +1,2 @@ def strategy(history, memory): - return 1, None + return "cooperate", None From c83586666f6b231deb09d4e8744aa9ed4bac0fb1 Mon Sep 17 00:00:00 2001 From: carykh Date: Sun, 16 May 2021 17:05:45 -0700 Subject: [PATCH 02/24] Update alwaysDefect.py --- code/exampleStrats/alwaysDefect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/exampleStrats/alwaysDefect.py b/code/exampleStrats/alwaysDefect.py index abdeba5..1760e84 100644 --- a/code/exampleStrats/alwaysDefect.py +++ b/code/exampleStrats/alwaysDefect.py @@ -1,2 +1,2 @@ def strategy(history, memory): - return 0, None \ No newline at end of file + return "defect", None From 41f5bd3d17b9e9f08f4467a7180e7e9ceabdcd8f Mon Sep 17 00:00:00 2001 From: carykh Date: Sun, 16 May 2021 17:07:32 -0700 Subject: [PATCH 03/24] Update detective.py --- code/exampleStrats/detective.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/code/exampleStrats/detective.py b/code/exampleStrats/detective.py index 67cfdcb..773ec46 100644 --- a/code/exampleStrats/detective.py +++ b/code/exampleStrats/detective.py @@ -5,13 +5,13 @@ # https://ncase.me/trust/ # # DETECTIVE: First: I analyze you. I start: -# Cooperate, Cheat, Cooperate, Cooperate. -# If you cheat back, I'll act like [Tit for Tat]. -# If you never cheta back, I'll act like [alwaysDefect], +# Cooperate, Defect, Cooperate, Cooperate. +# If you defect back, I'll act like [Tit for Tat]. +# If you never defect back, I'll act like [alwaysDefect], # to exploit you. Elementary, my dear Watson. def strategy(history, memory): - testingSchedule = [1,0,1,1] + testingSchedule = ["cooperate","defect","cooperate","cooperate"] gameLength = history.shape[1] shallIExploit = memory choice = None @@ -27,8 +27,8 @@ def strategy(history, memory): if gameLength >= 4: if shallIExploit: - choice = 0 + choice = "defect" else: choice = history[1,-1] # Do Tit for Tat - return choice, shallIExploit \ No newline at end of file + return choice, shallIExploit From 3559ace37a93b13a7918aaaeb46e3ac597f26673 Mon Sep 17 00:00:00 2001 From: carykh Date: Sun, 16 May 2021 17:11:29 -0700 Subject: [PATCH 04/24] Update ftft.py --- code/exampleStrats/ftft.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/code/exampleStrats/ftft.py b/code/exampleStrats/ftft.py index f85ab03..2858d07 100644 --- a/code/exampleStrats/ftft.py +++ b/code/exampleStrats/ftft.py @@ -1,7 +1,10 @@ # Forgiving Tit for Tat. # Choose to defect if and only if the opponent just defected TWICE in a row. + +# Reminder: For the history array, "cooperate" = 1, "defect" = 0 + def strategy(history, memory): - choice = 1 + choice = "cooperate" if history.shape[1] >= 2 and history[1,-1] == 0 and history[1,-2] == 0: # We check the TWO most recent turns to see if BOTH were defections, and only then do we defect too. - choice = 0 - return choice, None \ No newline at end of file + choice = "defect" + return choice, None From ce3f0cd04d725f99eaffa6513ca6ebb7e5c4b333 Mon Sep 17 00:00:00 2001 From: carykh Date: Sun, 16 May 2021 17:11:49 -0700 Subject: [PATCH 05/24] Update alwaysCooperate.py --- code/exampleStrats/alwaysCooperate.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/exampleStrats/alwaysCooperate.py b/code/exampleStrats/alwaysCooperate.py index aa76c46..fec87e9 100644 --- a/code/exampleStrats/alwaysCooperate.py +++ b/code/exampleStrats/alwaysCooperate.py @@ -1,2 +1,4 @@ +# Reminder: For the history array, "cooperate" = 1, "defect" = 0 + def strategy(history, memory): return "cooperate", None From 153eeef71074e10608578e721f67fcd606419d84 Mon Sep 17 00:00:00 2001 From: carykh Date: Sun, 16 May 2021 17:12:04 -0700 Subject: [PATCH 06/24] Update alwaysDefect.py --- code/exampleStrats/alwaysDefect.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/exampleStrats/alwaysDefect.py b/code/exampleStrats/alwaysDefect.py index 1760e84..64f1219 100644 --- a/code/exampleStrats/alwaysDefect.py +++ b/code/exampleStrats/alwaysDefect.py @@ -1,2 +1,4 @@ +# Reminder: For the history array, "cooperate" = 1, "defect" = 0 + def strategy(history, memory): return "defect", None From 4bcc2f5e5a2dd89491cccde39c9a3b319032c462 Mon Sep 17 00:00:00 2001 From: carykh Date: Sun, 16 May 2021 17:12:32 -0700 Subject: [PATCH 07/24] Update detective.py --- code/exampleStrats/detective.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/exampleStrats/detective.py b/code/exampleStrats/detective.py index 773ec46..662ae66 100644 --- a/code/exampleStrats/detective.py +++ b/code/exampleStrats/detective.py @@ -10,6 +10,8 @@ # If you never defect back, I'll act like [alwaysDefect], # to exploit you. Elementary, my dear Watson. +# Reminder: For the history array, "cooperate" = 1, "defect" = 0 + def strategy(history, memory): testingSchedule = ["cooperate","defect","cooperate","cooperate"] gameLength = history.shape[1] From e6e15e69dfe1147e3a46dcf299bcbaf4f9d1f0af Mon Sep 17 00:00:00 2001 From: carykh Date: Sun, 16 May 2021 17:16:46 -0700 Subject: [PATCH 08/24] Update grimTrigger.py --- code/exampleStrats/grimTrigger.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/code/exampleStrats/grimTrigger.py b/code/exampleStrats/grimTrigger.py index 4071dd3..c08bf85 100644 --- a/code/exampleStrats/grimTrigger.py +++ b/code/exampleStrats/grimTrigger.py @@ -4,7 +4,9 @@ # # In this implementation, I used the memory variable to store Grim Trigger's state of mind. # memory is true if Grim Trigger has been wronged, and false if it hasn't. -# + +# Reminder: For the history array, "cooperate" = 1, "defect" = 0 + def strategy(history, memory): wronged = False if memory is not None and memory: # Has memory that it was already wronged. @@ -14,7 +16,7 @@ def strategy(history, memory): wronged = True if wronged: - return 0, True + return "defect", True else: - return 1, False - \ No newline at end of file + return "cooperate", False + From bc7dd2f5fe08680f43f7727f1caa457814dcaae6 Mon Sep 17 00:00:00 2001 From: carykh Date: Sun, 16 May 2021 17:17:15 -0700 Subject: [PATCH 09/24] Update joss.py --- code/exampleStrats/joss.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/code/exampleStrats/joss.py b/code/exampleStrats/joss.py index a53cf53..aaf90bb 100644 --- a/code/exampleStrats/joss.py +++ b/code/exampleStrats/joss.py @@ -3,9 +3,11 @@ # Variant of Tit For Tat that randomly defects to try to take advantage # of overly forgiving opponents. +# Reminder: For the history array, "cooperate" = 1, "defect" = 0 + def strategy(history, memory): - choice = 1 + choice = "cooperate" if random.random() < 0.10 or (history.shape[1] >= 1 and history[1,-1] == 0): # Choose to defect randomly by 10% chance, OR if and only if the opponent just defected. - choice = 0 - return choice, None \ No newline at end of file + choice = "defect" + return choice, None From e66c0be1a4d5c95ef9f567f6680138d55652f6e4 Mon Sep 17 00:00:00 2001 From: carykh Date: Sun, 16 May 2021 17:18:00 -0700 Subject: [PATCH 10/24] Update random.py --- code/exampleStrats/random.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/code/exampleStrats/random.py b/code/exampleStrats/random.py index 89ce6e3..53cfa56 100644 --- a/code/exampleStrats/random.py +++ b/code/exampleStrats/random.py @@ -1,4 +1,9 @@ import random +# Reminder: For the history array, "cooperate" = 1, "defect" = 0 + def strategy(history, memory): - return random.randint(0, 1), None \ No newline at end of file + if random.randint(0,1) == 0: + return "cooperate", None + else: + return "defect", None From d6bef706cca57f05417356629338d2306c0a0b52 Mon Sep 17 00:00:00 2001 From: carykh Date: Sun, 16 May 2021 17:19:59 -0700 Subject: [PATCH 11/24] Update simpleton.py --- code/exampleStrats/simpleton.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/code/exampleStrats/simpleton.py b/code/exampleStrats/simpleton.py index b4d21f5..8cb0ea6 100644 --- a/code/exampleStrats/simpleton.py +++ b/code/exampleStrats/simpleton.py @@ -3,16 +3,18 @@ # # SIMPLETON: Hi! I try to start by cooperating. If you cooperate # back, I do the same thing as my last move, even if it was a mistake. -# If you cheat back, I do the opposite thing as my last move, even +# If you defect back, I do the opposite thing as my last move, even # if it was a mistake. +# Reminder: For the history array, "cooperate" = 1, "defect" = 0 + def strategy(history, memory): choice = None if history.shape[1] == 0: # We're on the first turn! - choice = 1 + choice = "cooperate" else: - choice = history[0,-1] # I will keep doing the same thing as last move! + choice = "cooperate" if history[0,-1] == 1 else "defect" # I will keep doing the same thing as last move! if history[1,-1] == 0: # If my opponent defected last turn, I'll just do the opposite thing as my last move: - choice = 1-choice + choice = "defect" if history[0,-1] == 1 else "cooperate" # I will keep doing the same thing as last move! - return choice, None \ No newline at end of file + return choice, None From 853b0ce892e5bd57e9aedd2e98de7de8ed59b251 Mon Sep 17 00:00:00 2001 From: carykh Date: Sun, 16 May 2021 17:20:55 -0700 Subject: [PATCH 12/24] Update titForTat.py --- code/exampleStrats/titForTat.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/code/exampleStrats/titForTat.py b/code/exampleStrats/titForTat.py index f01f8a7..fef8fa9 100644 --- a/code/exampleStrats/titForTat.py +++ b/code/exampleStrats/titForTat.py @@ -1,5 +1,7 @@ +# Reminder: For the history array, "cooperate" = 1, "defect" = 0 + def strategy(history, memory): - choice = 1 + choice = "cooperate" if history.shape[1] >= 1 and history[1,-1] == 0: # Choose to defect if and only if the opponent just defected. - choice = 0 - return choice, None \ No newline at end of file + choice = "defect" + return choice, None From 356e9fd7e7c91de9b9eedaaadcce437d9be95846 Mon Sep 17 00:00:00 2001 From: carykh Date: Sun, 16 May 2021 17:39:05 -0700 Subject: [PATCH 13/24] Update prisonersDilemma.py --- code/prisonersDilemma.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/prisonersDilemma.py b/code/prisonersDilemma.py index b75cc17..a6fcd5f 100644 --- a/code/prisonersDilemma.py +++ b/code/prisonersDilemma.py @@ -30,7 +30,7 @@ def getVisibleHistory(history, player, turn): def strategyMove(move): if type(move) is str: - defects = ["defect","confess the crime"] + defects = ["defect","side with law"] return 0 if (move in defects) else 1 else: return move @@ -117,4 +117,4 @@ def runFullPairingTournament(inFolder, outFile): print("Done with everything! Results file written to "+RESULTS_FILE) -runFullPairingTournament(STRATEGY_FOLDER, RESULTS_FILE) \ No newline at end of file +runFullPairingTournament(STRATEGY_FOLDER, RESULTS_FILE) From aaacb887a148797ed187eb32c5fb2834f1284706 Mon Sep 17 00:00:00 2001 From: carykh Date: Mon, 17 May 2021 05:50:32 -0700 Subject: [PATCH 14/24] Update prisonersDilemma.py --- code/prisonersDilemma.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/prisonersDilemma.py b/code/prisonersDilemma.py index a6fcd5f..24df2f0 100644 --- a/code/prisonersDilemma.py +++ b/code/prisonersDilemma.py @@ -30,7 +30,7 @@ def getVisibleHistory(history, player, turn): def strategyMove(move): if type(move) is str: - defects = ["defect","side with law"] + defects = ["defect","truth"] return 0 if (move in defects) else 1 else: return move From 73b7b718ea02137e611a333ec867b32d1c25fd9b Mon Sep 17 00:00:00 2001 From: carykh Date: Mon, 17 May 2021 05:51:54 -0700 Subject: [PATCH 15/24] Update prisonersDilemma.py --- code/prisonersDilemma.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/prisonersDilemma.py b/code/prisonersDilemma.py index 24df2f0..738b16d 100644 --- a/code/prisonersDilemma.py +++ b/code/prisonersDilemma.py @@ -30,7 +30,7 @@ def getVisibleHistory(history, player, turn): def strategyMove(move): if type(move) is str: - defects = ["defect","truth"] + defects = ["defect","tell truth"] return 0 if (move in defects) else 1 else: return move From 04bc865bbcfa6c06786b2fae04792038af17e276 Mon Sep 17 00:00:00 2001 From: carykh Date: Mon, 17 May 2021 06:09:19 -0700 Subject: [PATCH 16/24] Delete results.txt --- code/results.txt | 228 ----------------------------------------------- 1 file changed, 228 deletions(-) delete mode 100644 code/results.txt diff --git a/code/results.txt b/code/results.txt deleted file mode 100644 index 7fbccc7..0000000 --- a/code/results.txt +++ /dev/null @@ -1,228 +0,0 @@ -alwaysCooperate (P1) VS. alwaysDefect (P2) -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -Final score for alwaysCooperate: 0.0 -Final score for alwaysDefect: 5.0 - -alwaysCooperate (P1) VS. detective (P2) -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -C D C C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -Final score for alwaysCooperate: 0.032490974729241874 -Final score for detective: 4.978339350180505 - -alwaysCooperate (P1) VS. ftft (P2) -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -Final score for alwaysCooperate: 3.0 -Final score for ftft: 3.0 - -alwaysCooperate (P1) VS. grimTrigger (P2) -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -Final score for alwaysCooperate: 3.0 -Final score for grimTrigger: 3.0 - -alwaysCooperate (P1) VS. joss (P2) -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -C C C C C C C C D C C C C C C C C C C C C C D C C C C C C C D C C C C C C D C C C C C C C C C C D C C C C C C C C C C D C C C C C C C C C C C C C C C C C C C C C C C C D C C D C C C C C C C C D C C C C C C C C C C C C C C C C C C C C C C C C D C C C C C C C C C C C C C C C C D C C C C C C C C D C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C D C C C C D C C C C C C C C C C C C C D D C C D C C C C C C C C C C C C C C D C C C C C D C C D C C C D C C C C D C C C D C C C C C C C C C C D D -Final score for alwaysCooperate: 2.7093023255813953 -Final score for joss: 3.193798449612403 - -alwaysCooperate (P1) VS. random (P2) -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -D D D C D D C D C C C D D C D D C C C C D C C D C C D C D C C D D D D C D D C D D D C D C C D C C D D D D C D D D C C C D C D D D D D C C C C C D C D C C D D D D C C C D C D D D D C C D C C C D C C C D D C D C D C C D C C C C C C D D C C D C C C D D C C D D D D C C C D C D C C C D C D D C D C D D C C C C C C C C D D D D D D C C D D C D D C D C D C C D D D D C C C D C D D C D C D D D D D D D C C C D D C C D D D D -Final score for alwaysCooperate: 1.4711538461538463 -Final score for random: 4.019230769230769 - -alwaysCooperate (P1) VS. simpleton (P2) -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -Final score for alwaysCooperate: 3.0 -Final score for simpleton: 3.0 - -alwaysCooperate (P1) VS. titForTat (P2) -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -Final score for alwaysCooperate: 3.0 -Final score for titForTat: 3.0 - -alwaysDefect (P1) VS. detective (P2) -D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -C D C C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -Final score for alwaysDefect: 1.055045871559633 -Final score for detective: 0.9862385321100917 - -alwaysDefect (P1) VS. ftft (P2) -D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -C C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -Final score for alwaysDefect: 1.038647342995169 -Final score for ftft: 0.9903381642512077 - -alwaysDefect (P1) VS. grimTrigger (P2) -D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -Final score for alwaysDefect: 1.019047619047619 -Final score for grimTrigger: 0.9952380952380953 - -alwaysDefect (P1) VS. joss (P2) -D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -Final score for alwaysDefect: 1.0148148148148148 -Final score for joss: 0.9962962962962963 - -alwaysDefect (P1) VS. random (P2) -D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -C D D D C C C D D D C C D D D C D C D C D D C D C D D D C C D D D C D C D C D D C C D D D C D C D D C D C D C D C D C D D D D C C D D D C C D D D D D C D D C C D C D D C C C D C C D C D D C D D D C C C C D D C D D D C D C C D C C D D D D D D C C D D C C D C D C D D D D D D C D D D D C C C D D C D C D C D C D D C D D D D C C D C D D C C C C D D C C C D D C C D C D C C D C D C D D C D C D D C D C D C D C C C D D C C C C D D C C D C C D D C -Final score for alwaysDefect: 2.7918552036199094 -Final score for random: 0.5520361990950227 - -alwaysDefect (P1) VS. simpleton (P2) -D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D -Final score for alwaysDefect: 3.0 -Final score for simpleton: 0.5 - -alwaysDefect (P1) VS. titForTat (P2) -D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -Final score for alwaysDefect: 1.015209125475285 -Final score for titForTat: 0.9961977186311787 - -detective (P1) VS. ftft (P2) -C D C C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -C C C C C C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -Final score for detective: 1.0649819494584838 -Final score for ftft: 1.0108303249097472 - -detective (P1) VS. grimTrigger (P2) -C D C C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -C C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -Final score for detective: 1.0176991150442478 -Final score for grimTrigger: 1.0398230088495575 - -detective (P1) VS. joss (P2) -C D C C D C D C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -C C D D C D C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -Final score for detective: 1.045045045045045 -Final score for joss: 1.0675675675675675 - -detective (P1) VS. random (P2) -C D C C D D C D D D D D C D C D C D C C C C C C D D C C C D D D D C C C D C D C C C D C D D D C D C C D C D D C D C C C C D C C D D C D C C C C C D C C D D D C D D C C D D C C D C C C C D C C D C D C D D C D C C C D C C C C D D D D D D C C C C C D C C C C D C C D D C C D D D C D C D D D D D C C D D C C C D C D C D C D D D D C C D D D D C C D D D D C D C C D C C D D D C C D D C D D D D D D C D C D C C C C D C C D D D D C C D C C D D C C C D D C C C C D C D C D D D D D C D C D D C D C -D C C D D C D D D D D C D C D C D C C C C C C D D C C C D D D D C C C D C D C C C D C D D D C D C C D C D D C D C C C C D C C D D C D C C C C C D C C D D D C D D C C D D C C D C C C C D C C D C D C D D C D C C C D C C C C D D D D D D C C C C C D C C C C D C C D D C C D D D C D C D D D D D C C D D C C C D C D C D C D D D D C C D D D D C C D D D D C D C C D C C D D D C C D D C D D D D D D C D C D C C C C D C C D D D D C C D C C D D C C C D D C C C C D C D C D D D D D C D C D D C D C D -Final score for detective: 2.2581967213114753 -Final score for random: 2.278688524590164 - -detective (P1) VS. simpleton (P2) -C D C C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D -C C D D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C -Final score for detective: 2.0096618357487923 -Final score for simpleton: 2.0096618357487923 - -detective (P1) VS. titForTat (P2) -C D C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -C C D C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -Final score for detective: 2.996212121212121 -Final score for titForTat: 2.996212121212121 - -ftft (P1) VS. grimTrigger (P2) -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -Final score for ftft: 3.0 -Final score for grimTrigger: 3.0 - -ftft (P1) VS. joss (P2) -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C D C C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -C C D C C C C C C C C D C D C C C C C C D C C C C C C C C C D C D D C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -Final score for ftft: 1.170731707317073 -Final score for joss: 1.3101045296167246 - -ftft (P1) VS. random (P2) -C C D D C C D C C D D D C C C C D D D C C D C C C C C C D D C C C C C C C D D C C D D D D C C C C C C C C C C C D C C C C C C D C C C C C C C C C C C C D C C C C C D C C D C C C C C C D D C C C C C C C C D D C C C D D C C C C C C D D C C C C C C C C C C C C D D C C C C D D D C C C C C C C C D C C C C C C C C D C C D D D D D C C D C C C C D D D D C C D C C C C D C C C C C C C C D D D C C C D C C C C C C C C D D C C C C D C C D C C -D D D C D D C D D D D C C C D D D D C D D C C C D C D D D C D C D C C D D D C D D D D D C D C D C C D C C C D D C C D C C D D C D C C C C C D C C C D D C C C C D D C D D C C D C C D D D C D C C D C C D D D C C D D D C C C D C D D D C C C C C D C C D C C D D D C D C D D D D C C D C C D C D D C C D C D C C D D C D D D D D D C D D C D C D D D D D C D D C D C D D C C C C C C C D D D D C C D D C C C C C C C D D D C D C D D C D D C D C -Final score for ftft: 1.847926267281106 -Final score for random: 3.1152073732718892 - -ftft (P1) VS. simpleton (P2) -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -Final score for ftft: 3.0 -Final score for simpleton: 3.0 - -ftft (P1) VS. titForTat (P2) -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -Final score for ftft: 3.0 -Final score for titForTat: 3.0 - -grimTrigger (P1) VS. joss (P2) -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C D C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -Final score for grimTrigger: 1.231939163498099 -Final score for joss: 1.231939163498099 - -grimTrigger (P1) VS. random (P2) -C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -D C D C D D C C C C D D C C D C C D D C D D D C C C C C D D C C C D C C C D C D D C C C D C D D C C D D C D D D C D C D D C D D C D D D C C C C C D D C C C D C C C D C D C D D D D C D C C D D D C D D C C D D D D D C C C C D D D D C D C C C C C D D D C D C C C C D D C D C D D C C C D C D D C D C C C C C C C C D D D C D C C C C C C D D C D D D C D C C C D C C D D D D D C D C D C D D C D C C D D C D D C -Final score for grimTrigger: 3.0742574257425743 -Final score for random: 0.5 - -grimTrigger (P1) VS. simpleton (P2) -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -Final score for grimTrigger: 3.0 -Final score for simpleton: 3.0 - -grimTrigger (P1) VS. titForTat (P2) -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -Final score for grimTrigger: 3.0 -Final score for titForTat: 3.0 - -joss (P1) VS. random (P2) -C D C D D D D C C C D D C D C D C C C C C D D D D D D C C D D D D C D C C C C D C D C C D C C C D C D C D C D C D D D C D D C D C C D D D C D D C D C D D D D D D D C C D D D C D D D D C D D C C C D C D C C D C C C D D D D C C D D C D D D C C C C C D D D C C D C D D D D C C C C C C C D C D C C D D D C C C D C D D D C D D D D C D C D D C C D D C C C C C D D C D C D D D C C C D D D D C C D D D D C C D D D -D C D D D D C C C D D C D C D C C C C C D C D D D D C C D D D D C D C C C C D C D C C D C C C D C D C D C C C D C D C D D C C C C D D D C D D C D C D C D D D D D C C D D D C D D D D C D D C C C C C D C C D C C C D D D D C C D D C D D D C C C C C D D D C C D C D D D D C C C C C C C D C D C C D D D C C C C C D D D C D D D D C D C D D C C D D C C C C C D D C D C D D D C C C D D D D C C D D D D C C D D D C -Final score for joss: 2.2758620689655173 -Final score for random: 2.103448275862069 - -joss (P1) VS. simpleton (P2) -C C C C C C C C C C C C D C D D C D D C D D C D D C D D C D D D D C D D C D D C D D C D D D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D D D D D C D D C D D C D D D D C D D C D D C D D C D D C D D C D D C D D D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C -C C C C C C C C C C C C C D D C D D C D D C D D C D D C D D C D C D D C D D C D D C D D C D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D C D C D D C D D C D D C D C D D C D D C D D C D D C D D C D D C D D C D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D -Final score for joss: 2.133663366336634 -Final score for simpleton: 1.9603960396039604 - -joss (P1) VS. titForTat (P2) -C C C D C D C D C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -C C C C D C D C D C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D -Final score for joss: 1.081896551724138 -Final score for titForTat: 1.0603448275862069 - -random (P1) VS. simpleton (P2) -C D C D D D C C D C D D C C D C C D C C C C C D C C C D C C D C D D C D C C D D C D C C C C D D D C D C C D D D D C D C C D D C C C D C D D C C C D C C D D D D C D D D D D D C C D D D C C D D D D D C C D C C D C C D D D C C D D C D D D C D D D C D C C C C C C D C C D D D D C D D D D D D C C D D D C C D D C C D D C D C D C D C D D D D D C D D C C D D C D C C D C D C D C C D C D C D D C D C C C D C D C C D C C C D D C C C D D -C C D D C D C C C D D C D D D C C C D D D D D D C C C C D D D C C D C C D D D C D D C C C C C D C D D C C C D C D C C D D D C D D D D C C D C C C C D D D C D C D D C D C D C D D D C D C C C D C D C D D D C C C D D D C D C C C D C C D C D D C D C C D D D D D D D C C C D C D C C D C D C D C C C D C D D D C D D D C D D C C D D C C D C D C D D C D D D C D D C C C D D C C D D D C C D D C D D C C C C D D C C C D D D D C D D D D C -Final score for random: 2.196261682242991 -Final score for simpleton: 2.2429906542056073 - -random (P1) VS. titForTat (P2) -C D D D C C D C D D D C D D D C D C D C D C C C D C D C D D D D D D C C C D C C D D C D C C C C C D D D D C D C D C C D C D D D C C C D C C C D D D C D C D D D D D C D C C C D D D C D C D C C D D C C D C C C D C C C C D C C D C C D C C D D D D D C D D D D C C D D C C C D C C D C C D C C D D D D D C C D D C C D C C D C D D C C C D D D C D D C D D C C D D C C C D D C C C D C C C D C C C D D D D C D D C C D C C C C D C C C C C C D D D D C -C C D D D C C D C D D D C D D D C D C D C D C C C D C D C D D D D D D C C C D C C D D C D C C C C C D D D D C D C D C C D C D D D C C C D C C C D D D C D C D D D D D C D C C C D D D C D C D C C D D C C D C C C D C C C C D C C D C C D C C D D D D D C D D D D C C D D C C C D C C D C C D C C D D D D D C C D D C C D C C D C D D C C C D D D C D D C D D C C D D C C C D D C C C D C C C D C C C D D D D C D D C C D C C C C D C C C C C C D D D D -Final score for random: 2.268181818181818 -Final score for titForTat: 2.268181818181818 - -simpleton (P1) VS. titForTat (P2) -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C -Final score for simpleton: 3.0 -Final score for titForTat: 3.0 - - - -TOTAL SCORES -#1: titForTat: 19.321 (2.415 average) -#2: simpleton: 18.713 (2.339 average) -#3: grimTrigger: 18.341 (2.293 average) -#4: random: 17.033 (2.129 average) -#5: ftft: 17.020 (2.127 average) -#6: detective: 16.356 (2.045 average) -#7: alwaysCooperate: 16.213 (2.027 average) -#8: alwaysDefect: 15.935 (1.992 average) -#9: joss: 13.291 (1.661 average) From e0e40ecf8ac7de4623196a07c9522332ecb9991b Mon Sep 17 00:00:00 2001 From: carykh Date: Mon, 17 May 2021 06:09:34 -0700 Subject: [PATCH 17/24] Add files via upload --- code/results.txt | 228 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 228 insertions(+) create mode 100644 code/results.txt diff --git a/code/results.txt b/code/results.txt new file mode 100644 index 0000000..e012a9d --- /dev/null +++ b/code/results.txt @@ -0,0 +1,228 @@ +alwaysCooperate (P1) VS. alwaysDefect (P2) +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +Final score for alwaysCooperate: 0.0 +Final score for alwaysDefect: 5.0 + +alwaysCooperate (P1) VS. detective (P2) +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +C D C C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +Final score for alwaysCooperate: 0.037815126050420166 +Final score for detective: 4.974789915966387 + +alwaysCooperate (P1) VS. ftft (P2) +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +Final score for alwaysCooperate: 3.0 +Final score for ftft: 3.0 + +alwaysCooperate (P1) VS. grimTrigger (P2) +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +Final score for alwaysCooperate: 3.0 +Final score for grimTrigger: 3.0 + +alwaysCooperate (P1) VS. joss (P2) +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +D C C C C C C C C D D C C C C C C C D D C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C D C C D C C C C D C C C C C C C D D C C C C C C D C C C C D C C C D C C C C C C C C C C C C C C C C C C C C C C D C C C C C C C C C C D C C C C D C C C C C C C C D C C C C C C C C C C C C C C C C C C C C C D C C D C C C C C C C C C C C D C C C C C D C C C C C C C C D C D C D C C C C C C D C C D C C D C C D C D C C C C C C C +Final score for alwaysCooperate: 2.5990783410138247 +Final score for joss: 3.2672811059907834 + +alwaysCooperate (P1) VS. random (P2) +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +C D C D C D D D D C C D C D D D C D C C C C D C D C C D C D C C C D D D C D D C C C D C D C D D D C C D D C C C D D D C D C C D D C D C C C D D D D D C D C C D C C C D D C C C C C D D D D D D D C C D D C C D D D C D D D D C D D D D C C C C D D D D D C C D D D C D D D C C C C D D C C D D D D D C C C C C C D D D D D C C D C D C C D C C D D D D D D D D C D C D D D D D D D D D C D C C D C C D D C C C D C D D D D C D C D D C C C C D D C D D D C D C D C D +Final score for alwaysCooperate: 1.3215859030837005 +Final score for random: 4.118942731277533 + +alwaysCooperate (P1) VS. simpleton (P2) +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +Final score for alwaysCooperate: 3.0 +Final score for simpleton: 3.0 + +alwaysCooperate (P1) VS. titForTat (P2) +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +Final score for alwaysCooperate: 3.0 +Final score for titForTat: 3.0 + +alwaysDefect (P1) VS. detective (P2) +D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +C D C C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +Final score for alwaysDefect: 1.0456273764258555 +Final score for detective: 0.9885931558935361 + +alwaysDefect (P1) VS. ftft (P2) +D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +C C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +Final score for alwaysDefect: 1.033195020746888 +Final score for ftft: 0.991701244813278 + +alwaysDefect (P1) VS. grimTrigger (P2) +D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +Final score for alwaysDefect: 1.0199004975124377 +Final score for grimTrigger: 0.9950248756218906 + +alwaysDefect (P1) VS. joss (P2) +D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +Final score for alwaysDefect: 1.0 +Final score for joss: 1.0 + +alwaysDefect (P1) VS. random (P2) +D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +D D D D D D D C D C D C C D C D D D C D D D D D D D D C C D C D C D C C C C C C C D C C D C C D D C D C C C D C D D D D D C D D C D C C C D C C C C C D D D C D D C C D C D C C D D D D D D D C C D D D C C C C D D D C C C C D D D D C C C C D C C D D D D C D D D C C C C D C C C C C D C D C C D D C D C C D C C D D C C D D D C C D C D D D D C D D D C D C C C C D D D D D D C C D C D C C C C D D C D D D C C D C D C C D C C D D C C C D D C D D D C C D C C D C D D +Final score for alwaysDefect: 2.9304347826086956 +Final score for random: 0.5173913043478261 + +alwaysDefect (P1) VS. simpleton (P2) +D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D +Final score for alwaysDefect: 3.0 +Final score for simpleton: 0.5 + +alwaysDefect (P1) VS. titForTat (P2) +D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +Final score for alwaysDefect: 1.014336917562724 +Final score for titForTat: 0.996415770609319 + +detective (P1) VS. ftft (P2) +C D C C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +C C C C C C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +Final score for detective: 1.066420664206642 +Final score for ftft: 1.011070110701107 + +detective (P1) VS. grimTrigger (P2) +C D C C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +C C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +Final score for detective: 1.0115273775216138 +Final score for grimTrigger: 1.0259365994236311 + +detective (P1) VS. joss (P2) +C D C C C D C D C D C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +C C D C D C D C D C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +Final score for detective: 1.0655021834061136 +Final score for joss: 1.0873362445414847 + +detective (P1) VS. random (P2) +C D C C D D D C D C C C C D D D D D D C D C D C C D D C C C C C D D C D C D C C D C C D D D D D D C D D C C C C D D D D D D C D D C C C C C C C C D D C C D D C D C C D D C D D C C C C C C C D D D C C C C C D C D D C C D C D D D C D C D C D D D C C D D D C C C C D D C C D C C D D D D C C C D D D D D D C C C D D D C C C D D D D D D C C D D C C C C C D C D C C C D D D D D C C C D C C D C D C C D C C D C D C D C C D C D C D C D D D C D C D C C D D C D C D D C D D D C C C C D D C D C D D C C C C D D C D D C C C D D C D C C D C C C D C C D D D D D C D D D C C C C +C C C D D D C D C C C C D D D D D D C D C D C C D D C C C C C D D C D C D C C D C C D D D D D D C D D C C C C D D D D D D C D D C C C C C C C C D D C C D D C D C C D D C D D C C C C C C C D D D C C C C C D C D D C C D C D D D C D C D C D D D C C D D D C C C C D D C C D C C D D D D C C C D D D D D D C C C D D D C C C D D D D D D C C D D C C C C C D C D C C C D D D D D C C C D C C D C D C C D C C D C D C D C C D C D C D C D D D C D C D C C D D C D C D D C D D D C C C C D D C D C D D C C C C D D C D D C C C D D C D C C D C C C D C C D D D D D C D D D C C C C C +Final score for detective: 2.2624113475177303 +Final score for random: 2.24468085106383 + +detective (P1) VS. simpleton (P2) +C D C C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D +C C D D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D +Final score for detective: 1.9959183673469387 +Final score for simpleton: 2.016326530612245 + +detective (P1) VS. titForTat (P2) +C D C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +C C D C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +Final score for detective: 2.9954545454545456 +Final score for titForTat: 2.9954545454545456 + +ftft (P1) VS. grimTrigger (P2) +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +Final score for ftft: 3.0 +Final score for grimTrigger: 3.0 + +ftft (P1) VS. joss (P2) +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C D C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C D C C C C C C C C C +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C D C C C C C D C C C D C C C C C C C C C C D C C C C C C D C C C D C C C C C C C C C C C C C C C C C C C D C C C C C C C C C C C C C C C C C C C C C D C C C C C C C D C C C C C C C C C C C C C C C D C C D C C C C C C C D C C C C D C D C C C D D C D C C C C C C C C C C C C D C C C C C C C C C D C C C C C C C C C C C C C D C D C C C C C C C C C C C C C C C C C C C C C C C D D C D C C C C D C C C +Final score for ftft: 2.68859649122807 +Final score for joss: 3.192982456140351 + +ftft (P1) VS. random (P2) +C C C D D C C C C C D D C C D C C C D C C C D C C C C D D D C C C C C C C C C C C C D C C C C C C C C C C C C C C D D D D D D C C C C C C C C C C C C C C C C C C C D C C C C C C C C C C D C C C C C C C C D D D D C C D C C C C D D C C C C D C C C C D D D D C C D C C C D D D C C D D D D D C C D C C D D D C C C C D C C C C C C D C C C C C D C C C C C C C C C C C C C C D C C C C C C C C C C C D D C C +C D D D C D C C D D D C D D C C D D C C D D C D C D D D D C C C D C C C C C D C D D C C C C D C C D C C C C C D D D D D D D C C C D C C C C D C C D C C C D C C D D C C C D C D C C C D D C C C C C C C D D D D D C D D C C C D D D C D C D D C C C D D D D D C D D C C D D D D C D D D D D D C D D C D D D D C D C D D C D C C C D D C C C C D D C D C C C C D C C C D C C D D C C C C C D C C C C D D D C C C +Final score for ftft: 1.965 +Final score for random: 3.065 + +ftft (P1) VS. simpleton (P2) +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +Final score for ftft: 3.0 +Final score for simpleton: 3.0 + +ftft (P1) VS. titForTat (P2) +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +Final score for ftft: 3.0 +Final score for titForTat: 3.0 + +grimTrigger (P1) VS. joss (P2) +C C C C C C C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +C C C C C C D C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +Final score for grimTrigger: 1.0515463917525774 +Final score for joss: 1.0515463917525774 + +grimTrigger (P1) VS. random (P2) +C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +D D C D D D D D C C C C C C D D D C D C C D C C D C C C C C D D D C C D D C C D D D D C D D C C D C C C C D C D C D D C D D D D D C C C D D D D D C C D C C D C D D C D C D D C C C D C C C C D D C D D D C D D C D D C C C C D D C D C C D C D D C C C D D C D C C D D D C D C D D C D D C C C D D D C C D C D C D C D C C C C C D C D C D C D D C C C C D D C C C D D D C C C C D C C C C D D D C D D C C D D D D C C D C C D D D C D D C C C D D D D +Final score for grimTrigger: 2.9954545454545456 +Final score for random: 0.5181818181818182 + +grimTrigger (P1) VS. simpleton (P2) +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +Final score for grimTrigger: 3.0 +Final score for simpleton: 3.0 + +grimTrigger (P1) VS. titForTat (P2) +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +Final score for grimTrigger: 3.0 +Final score for titForTat: 3.0 + +joss (P1) VS. random (P2) +C D C D D D C D D C D D D C C C C C D D D D D D D C D C C D C C C C D D D D D C C C C D C C D D D D C D D C C C D D C D C D D C D C D C D C C D C C C D D D C C C C D D C D D D C C D D D D D D D D C D D C D D D D D D D C D D D C C C C C D C C C D C C D D C C C D D C D C C C D D C C D D D C D C C D D C D C D D D C D D D D D C C D D D D D C D D C D C C C C D C C D C D C C D D C C D C C D D D C C C D C D C C D C C D C D D C D D C C D C D C C C D D C D C C C C C C C C C D D D C C C C D C D C C C C C C C D D D D C C D C D D C D D D D D D C D C C C D C +D C D D D C D D C D D D C C C C C D D D D D D D C D C C D C C C C D D D D D C C C C D C C D D D D C D D C C C D D C D C D D C D C D C D C C D C C C D D C C C C C D D C D D D C C C D D D D D D D C D D C D D D D D D D C D D D C C C C C D C C C D C C D D C C C D D C D C C C D D C C D D D C D C C D D C D C D D D C D D D C D C C D D D D C C D D C D C C C C D C C D C D C C D D C C D C C D D D C C C D C C C C C C C D C D D C C D C C D C C C C C D D C D C C C C C C C C C C D D C C C C D C D C C C C C C C D D D D C C D C D D C D D D D D D C D C C C D C C +Final score for joss: 2.322463768115942 +Final score for random: 2.1594202898550723 + +joss (P1) VS. simpleton (P2) +D C D D C D D C D D C D D C D D D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D D D C D D C D D C D D C D D C D D C D D D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D D D D D C D D D D C D D D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D +C D D C D D C D D C D D C D D C D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D C D D C D D C D D C D D C D D C D D C D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D C D C D D C D C D D C D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C D D C +Final score for joss: 2.0785123966942147 +Final score for simpleton: 1.8925619834710743 + +joss (P1) VS. titForTat (P2) +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D C D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D D +Final score for joss: 1.5695067264573992 +Final score for titForTat: 1.547085201793722 + +random (P1) VS. simpleton (P2) +D D C C D C C D C D D C C C D D D C D C D C D C D D C D C D D D D D C D D D D C C C C C C D C C D D C D D C D D C C C D C C D C C D C D D D C C C D C C D C D C C D D C C C C C C C C D C D C C D C C D C C C D C D D C D C D D D C C D D C C C D C D D C D C C C C D D D C C D C C D C D C D D D D C D D C D C C C C C C D C C D C D C D D C C C D C C C C D C D D D C D C C C C C D C D D D D C D C D C C D C C C C D D C C D C D C D C C C C D D D C C D D C C D D D C C D D D D D C D C D C D C C C C C D D D C D C +C D C C C D D D C C D C C C C D C D D C C D D C C D C C D D C D C D C C D C D C C C C C C C D D D C D D C D D C D D D D C C C D D D C C D C D D D D C C C D D C C C D C C C C C C C C C D D C C C D D D C C C C D D C D D C C D C D D D C D D D D C C D C C D D D D D C D C C C D D D C C D D C D C D D C D D C C C C C C C D D D C C D D C D D D D C C C C C D D C D C C D D D D D D C C D C D C C D D C C C D D D D D C D D D C C D D C C C C C D C D D D C D D D C D C C C D C D C D D C C D D C C C C C C D C D D C +Final score for random: 2.238095238095238 +Final score for simpleton: 2.357142857142857 + +random (P1) VS. titForTat (P2) +C C C C C C C D C D C D C C C C C C D C D C C C D D D C C C C D D D C C C D C C C D D C C D D C D C C D C D C D D C C D D D C C D D D D C C C C C D C C D C C C C C D C C D D D D D C D C D D C D C D D C C C D D D C C C C C C D C D D D D C D C D D C D D C D C C D C C C D C C C D C D C D D C D C D D C C C C C D C D C C D D C C C C C D D C D D D C D D D D C D D C D D D D C D C D D C D C C C D D C C D D D C D +C C C C C C C C D C D C D C C C C C C D C D C C C D D D C C C C D D D C C C D C C C D D C C D D C D C C D C D C D D C C D D D C C D D D D C C C C C D C C D C C C C C D C C D D D D D C D C D D C D C D D C C C D D D C C C C C C D C D D D D C D C D D C D D C D C C D C C C D C C C D C D C D D C D C D D C C C C C D C D C C D D C C C C C D D C D D D C D D D D C D D C D D D D C D C D D C D C C C D D C C D D D C +Final score for random: 2.3480392156862746 +Final score for titForTat: 2.323529411764706 + +simpleton (P1) VS. titForTat (P2) +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C C +Final score for simpleton: 3.0 +Final score for titForTat: 3.0 + + + +TOTAL SCORES +#1: titForTat: 19.862 (2.483 average) +#2: simpleton: 18.766 (2.346 average) +#3: ftft: 18.656 (2.332 average) +#4: grimTrigger: 18.068 (2.258 average) +#5: random: 17.210 (2.151 average) +#6: detective: 16.361 (2.045 average) +#7: alwaysDefect: 16.043 (2.005 average) +#8: alwaysCooperate: 15.958 (1.995 average) +#9: joss: 15.570 (1.946 average) From 09e33e9f38836253dbfc35b81afbab396de7ff02 Mon Sep 17 00:00:00 2001 From: carykh Date: Tue, 18 May 2021 16:55:33 -0700 Subject: [PATCH 18/24] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index ca448d8..a774fe6 100644 --- a/README.md +++ b/README.md @@ -44,3 +44,7 @@ Each pairing simulation runs for this many turns: 200-40*np.log(random.random()) ``` This means each game is guaranteed to be at least 200 turns long. But then, for every turn after the 200th, there is an equal probability that the game ends. The probability is very low, so there should be no strategizing to defect on the very last turn consequence-free. + +--- + +Please submit your strategies to this Google Form: https://forms.gle/wWwZY9mmSHF2X34P7 by May 26th, 2021 at 10 PM UTC. Your file can be named whatever you want your strategy to be called, like "superCleverDetective.py", but you must keep it a .py file. Also, do not rename the function header within the file - you must keep it as "def strategy(history, memory):". When I’ve got all your strategies collected in one place, I will combine them with that list of 9 example strategies already provided in the GitHub repo. With these (9 + n) strategies all appearing once in this giant "mosh pit", I will run the program "prisonersDilemma.py". Whoever’s single strategy takes the top spot will win $1,000! Second place will win $300, and third place will win $100. (Note: There is a small chance one of the 9 default strategies win, but I hope that doesn't happen!) From 70e3572bc62b84993ea764a4a5a3ee877f3e1794 Mon Sep 17 00:00:00 2001 From: carykh Date: Tue, 18 May 2021 16:55:47 -0700 Subject: [PATCH 19/24] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a774fe6..4318d9e 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # PrisonersDilemmaTournament -This is my CS 269i class project. +This is my CS 269i class project. Check out my webpage for context! https://htwins.net/prisoners-dilemma/ -Watch This Place's awesome videos about iterated Prisoner's Dilemma for context! +Watch This Place's awesome videos about iterated Prisoner's Dilemma for more context! https://www.youtube.com/watch?v=t9Lo2fgxWHw From 25b4cdeed390b1d22675f5f2888480ebf163b75a Mon Sep 17 00:00:00 2001 From: carykh Date: Fri, 21 May 2021 04:06:07 -0700 Subject: [PATCH 20/24] Edited comment to say that games are 200+ rounds! --- code/prisonersDilemma.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/prisonersDilemma.py b/code/prisonersDilemma.py index 738b16d..c0bbee1 100644 --- a/code/prisonersDilemma.py +++ b/code/prisonersDilemma.py @@ -41,7 +41,7 @@ def runRound(pair): memoryA = None memoryB = None - LENGTH_OF_GAME = int(200-40*np.log(random.random())) # The games are a minimum of 50 turns long. The np.log here guarantees that every turn after the 50th has an equal (low) chance of being the final turn. + LENGTH_OF_GAME = int(200-40*np.log(random.random())) # The games are a minimum of 200 turns long. The np.log here guarantees that every turn after the 200th has an equal (low) chance of being the final turn. history = np.zeros((2,LENGTH_OF_GAME),dtype=int) for turn in range(LENGTH_OF_GAME): From 3b266693dc523d2db749568570b3b72dcb7067fa Mon Sep 17 00:00:00 2001 From: carykh Date: Fri, 21 May 2021 04:08:41 -0700 Subject: [PATCH 21/24] Changed "random" to "1-random" to avoid 0! --- code/prisonersDilemma.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/prisonersDilemma.py b/code/prisonersDilemma.py index c0bbee1..925c309 100644 --- a/code/prisonersDilemma.py +++ b/code/prisonersDilemma.py @@ -41,7 +41,7 @@ def runRound(pair): memoryA = None memoryB = None - LENGTH_OF_GAME = int(200-40*np.log(random.random())) # The games are a minimum of 200 turns long. The np.log here guarantees that every turn after the 200th has an equal (low) chance of being the final turn. + LENGTH_OF_GAME = int(200-40*np.log(1-random.random())) # The games are a minimum of 200 turns long. The np.log here guarantees that every turn after the 200th has an equal (low) chance of being the final turn. history = np.zeros((2,LENGTH_OF_GAME),dtype=int) for turn in range(LENGTH_OF_GAME): From 32de46feeb18f337af5221f3a90085db38029be7 Mon Sep 17 00:00:00 2001 From: carykh Date: Fri, 21 May 2021 22:20:51 -0700 Subject: [PATCH 22/24] Update prisonersDilemma.py --- code/prisonersDilemma.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/prisonersDilemma.py b/code/prisonersDilemma.py index 925c309..585ae23 100644 --- a/code/prisonersDilemma.py +++ b/code/prisonersDilemma.py @@ -33,7 +33,8 @@ def strategyMove(move): defects = ["defect","tell truth"] return 0 if (move in defects) else 1 else: - return move + # Coerce all moves to be 0 or 1 so strategies can safely assume 0/1's only + return int(bool(move) def runRound(pair): moduleA = importlib.import_module(STRATEGY_FOLDER+"."+pair[0]) From 1e1a46aae25fcd70beb9bf167a276ceb6069b4ae Mon Sep 17 00:00:00 2001 From: carykh Date: Fri, 21 May 2021 22:21:15 -0700 Subject: [PATCH 23/24] Update prisonersDilemma.py --- code/prisonersDilemma.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/prisonersDilemma.py b/code/prisonersDilemma.py index 585ae23..5a12d49 100644 --- a/code/prisonersDilemma.py +++ b/code/prisonersDilemma.py @@ -34,7 +34,7 @@ def strategyMove(move): return 0 if (move in defects) else 1 else: # Coerce all moves to be 0 or 1 so strategies can safely assume 0/1's only - return int(bool(move) + return int(bool(move)) def runRound(pair): moduleA = importlib.import_module(STRATEGY_FOLDER+"."+pair[0]) From fd259dc481a34b3c869fa8ae66ea161af0d95963 Mon Sep 17 00:00:00 2001 From: carykh Date: Mon, 24 May 2021 21:40:01 -0700 Subject: [PATCH 24/24] Rename random.py to randomStrategy.py --- code/exampleStrats/{random.py => randomStrategy.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename code/exampleStrats/{random.py => randomStrategy.py} (100%) diff --git a/code/exampleStrats/random.py b/code/exampleStrats/randomStrategy.py similarity index 100% rename from code/exampleStrats/random.py rename to code/exampleStrats/randomStrategy.py