Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.15 KB | None | 0 0
  1. def theAliceBlindRatAlmostAlwaysOne(mymoves, othermoves, totalRounds, currentRound):
  2. #rats always after first 6 rounds, in which only tit for tat
  3. if currentRound < 6:
  4. if len(othermoves) == 0:
  5. return False
  6. if othermoves[-1]:
  7. return True
  8. return True
  9.  
  10. def theAliceBlindSupportOne(mymoves, othermoves, totalRounds, currentRound):
  11. #stays silent
  12. return False
  13.  
  14. def theAliceBlindSupportTwo(mymoves, othermoves, totalRounds, currentRound):
  15. #stays silent
  16. return False
  17.  
  18. def theAliceBlindSupportThree(mymoves, othermoves, totalRounds, currentRound):
  19. #stays silent
  20. return False
  21.  
  22. def theAliceBlindSupportFour(mymoves, othermoves, totalRounds, currentRound):
  23. #stays silent
  24. return False
  25.  
  26. def theAliceBlindSupportFive(mymoves, othermoves, totalRounds, currentRound):
  27. #stays silent
  28. return False
  29.  
  30. def theAliceBlindSupportSix(mymoves, othermoves, totalRounds, currentRound):
  31. #stays silent
  32. return False
  33.  
  34. def theAliceBlindSupportSeven(mymoves, othermoves, totalRounds, currentRound):
  35. #stays silent
  36. return False
  37.  
  38. def theAliceBlindSupportEight(mymoves, othermoves, totalRounds, currentRound):
  39. #stays silent
  40. return False
  41.  
  42. def theAliceBlindSupportNine(mymoves, othermoves, totalRounds, currentRound):
  43. #stays silent
  44. return False
  45.  
  46. def theAliceBlindSupportTen(mymoves, othermoves, totalRounds, currentRound):
  47. #stays silent
  48. return False
  49.  
  50. def theAliceBlindCopycatOne(mymoves, othermoves, totalRounds, currentRound):
  51. #tit for tat except last round, on which they rat
  52. if len(othermoves) == 0:
  53. return False
  54. if othermoves[-1]:
  55. return True
  56. if currentRound == 49:
  57. return True
  58. return False
  59.  
  60. def theAliceBlindCopycatTwo(mymoves, othermoves, totalRounds, currentRound):
  61. #tit for tat except last round, on which they rat
  62. if len(othermoves) == 0:
  63. return False
  64. if othermoves[-1]:
  65. return True
  66. if currentRound == 49:
  67. return True
  68. return False
  69.  
  70. def theAliceBlindCopycatThree(mymoves, othermoves, totalRounds, currentRound):
  71. #tit for tat except last round, on which they rat
  72. if len(othermoves) == 0:
  73. return False
  74. if othermoves[-1]:
  75. return True
  76. if currentRound == 49:
  77. return True
  78. return False
  79.  
  80. def theAliceBlindCopycatFour(mymoves, othermoves, totalRounds, currentRound):
  81. #tit for tat except last round, on which they rat
  82. if len(othermoves) == 0:
  83. return False
  84. if othermoves[-1]:
  85. return True
  86. if currentRound == 49:
  87. return True
  88. return False
  89.  
  90. def theAliceBlindCopycatFive(mymoves, othermoves, totalRounds, currentRound):
  91. #tit for tat except last round, on which they rat
  92. if len(othermoves) == 0:
  93. return False
  94. if othermoves[-1]:
  95. return True
  96. if currentRound == 49:
  97. return True
  98. return False
  99.  
  100. def theAliceBlindCopycatSix(mymoves, othermoves, totalRounds, currentRound):
  101. #tit for tat except last round, on which they rat
  102. if len(othermoves) == 0:
  103. return False
  104. if othermoves[-1]:
  105. return True
  106. if currentRound == 49:
  107. return True
  108. return False
  109.  
  110. def theAliceBlindCopycatSeven(mymoves, othermoves, totalRounds, currentRound):
  111. #tit for tat except last round, on which they rat
  112. if len(othermoves) == 0:
  113. return False
  114. if othermoves[-1]:
  115. return True
  116. if currentRound == 49:
  117. return True
  118. return False
  119.  
  120. def theAliceBlindCopycatEight(mymoves, othermoves, totalRounds, currentRound):
  121. #tit for tat except last round, on which they rat
  122. if len(othermoves) == 0:
  123. return False
  124. if othermoves[-1]:
  125. return True
  126. if currentRound == 49:
  127. return True
  128. return False
  129.  
  130. def theAliceBlindCopycatNine(mymoves, othermoves, totalRounds, currentRound):
  131. #tit for tat except last round, on which they rat
  132. if len(othermoves) == 0:
  133. return False
  134. if othermoves[-1]:
  135. return True
  136. if currentRound == 49:
  137. return True
  138. return False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement