Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.51 KB | None | 0 0
  1. def theAlicecopycatSupportOne(mymoves, othermoves, totalRounds, currentRound):
  2. #tit for tat always
  3. if len(othermoves) == 0:
  4. return False
  5. if othermoves[-1]:
  6. return True
  7. return False
  8.  
  9. def theAlicecopycatSupportTwo(mymoves, othermoves, totalRounds, currentRound):
  10. #tit for tat always
  11. if len(othermoves) == 0:
  12. return False
  13. if othermoves[-1]:
  14. return True
  15. return False
  16.  
  17. def theAlicecopycatSupportThree(mymoves, othermoves, totalRounds, currentRound):
  18. #tit for tat always
  19. if len(othermoves) == 0:
  20. return False
  21. if othermoves[-1]:
  22. return True
  23. return False
  24.  
  25. def theAlicecopycatSupportFour(mymoves, othermoves, totalRounds, currentRound):
  26. #tit for tat always
  27. if len(othermoves) == 0:
  28. return False
  29. if othermoves[-1]:
  30. return True
  31. return False
  32.  
  33. def theAlicecopycatSupportFive(mymoves, othermoves, totalRounds, currentRound):
  34. #tit for tat always
  35. if len(othermoves) == 0:
  36. return False
  37. if othermoves[-1]:
  38. return True
  39. return False
  40.  
  41. def theAlicecopycatSupportSix(mymoves, othermoves, totalRounds, currentRound):
  42. #tit for tat always
  43. if len(othermoves) == 0:
  44. return False
  45. if othermoves[-1]:
  46. return True
  47. return False
  48.  
  49. def theAlicecopycatSupportSeven(mymoves, othermoves, totalRounds, currentRound):
  50. #tit for tat always
  51. if len(othermoves) == 0:
  52. return False
  53. if othermoves[-1]:
  54. return True
  55. return False
  56.  
  57. def theAlicecopycatSupportEight(mymoves, othermoves, totalRounds, currentRound):
  58. #tit for tat always
  59. if len(othermoves) == 0:
  60. return False
  61. if othermoves[-1]:
  62. return True
  63. return False
  64.  
  65. def theAlicecopycatSupportNine(mymoves, othermoves, totalRounds, currentRound):
  66. #tit for tat always
  67. if len(othermoves) == 0:
  68. return False
  69. if othermoves[-1]:
  70. return True
  71. return False
  72.  
  73. def theAlicecopycatSupportTen(mymoves, othermoves, totalRounds, currentRound):
  74. #tit for tat always
  75. if len(othermoves) == 0:
  76. return False
  77. if othermoves[-1]:
  78. return True
  79. return False
  80.  
  81. def theAlicecopycatSupportEleven(mymoves, othermoves, totalRounds, currentRound):
  82. #tit for tat always
  83. if len(othermoves) == 0:
  84. return False
  85. if othermoves[-1]:
  86. return True
  87. return False
  88.  
  89. def theAlicecopycatSupportTwelve(mymoves, othermoves, totalRounds, currentRound):
  90. #tit for tat always
  91. if len(othermoves) == 0:
  92. return False
  93. if othermoves[-1]:
  94. return True
  95. return False
  96.  
  97. def theAlicecopycatSupportThirteen(mymoves, othermoves, totalRounds, currentRound):
  98. #tit for tat always
  99. if len(othermoves) == 0:
  100. return False
  101. if othermoves[-1]:
  102. return True
  103. return False
  104.  
  105. def theAlicecopycatSupportFourteen(mymoves, othermoves, totalRounds, currentRound):
  106. #tit for tat always
  107. if len(othermoves) == 0:
  108. return False
  109. if othermoves[-1]:
  110. return True
  111. return False
  112.  
  113. def theAlicecopycatSupportFifteen(mymoves, othermoves, totalRounds, currentRound):
  114. #tit for tat always
  115. if len(othermoves) == 0:
  116. return False
  117. if othermoves[-1]:
  118. return True
  119. return False
  120.  
  121. def theAlicecopycatSupportSixteen(mymoves, othermoves, totalRounds, currentRound):
  122. #tit for tat always
  123. if len(othermoves) == 0:
  124. return False
  125. if othermoves[-1]:
  126. return True
  127. return False
  128.  
  129. def theAlicecopycatSupportSeventeen(mymoves, othermoves, totalRounds, currentRound):
  130. #tit for tat always
  131. if len(othermoves) == 0:
  132. return False
  133. if othermoves[-1]:
  134. return True
  135. return False
  136.  
  137. def theAlicecopycatSupportEighteen(mymoves, othermoves, totalRounds, currentRound):
  138. #tit for tat always
  139. if len(othermoves) == 0:
  140. return False
  141. if othermoves[-1]:
  142. return True
  143. return False
  144.  
  145. def theAlicecopycat(mymoves, othermoves, totalRounds, currentRound):
  146. #tit for tat except last round, on which they rat
  147. if currentRound == 49:
  148. return True
  149. if len(othermoves) == 0:
  150. return False
  151. if othermoves[-1]:
  152. return True
  153. return False
  154.  
  155. def theAlicecopycatTwo(mymoves, othermoves, totalRounds, currentRound):
  156. #tit for tat except last round, on which they rat
  157. if currentRound == 49:
  158. return True
  159. if len(othermoves) == 0:
  160. return False
  161. if othermoves[-1]:
  162. return True
  163. return False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement