Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.25 KB | None | 0 0
  1. def titForTwotatswithendmoveone(mymoves, othermoves, totalRounds, currentRound):
  2. #Stays silent until the other player rats twice in a row. If the other player's last 2 moves is rat this player only rats for this round.
  3. if currentRound == 49:
  4. return True
  5. if len(othermoves) < 2:
  6. return False
  7. if othermoves[-1] and othermoves[-2]:
  8. return True
  9. else:
  10. return False
  11.  
  12. def titForTwotatswithendmovetwo(mymoves, othermoves, totalRounds, currentRound):
  13. #Stays silent until the other player rats twice in a row. If the other player's last 2 moves is rat this player only rats for this round.
  14. if currentRound == 49:
  15. return True
  16. if len(othermoves) < 2:
  17. return False
  18. if othermoves[-1] and othermoves[-2]:
  19. return True
  20. else:
  21. return False
  22.  
  23. def titForTwotatswithendmovethree(mymoves, othermoves, totalRounds, currentRound):
  24. #Stays silent until the other player rats twice in a row. If the other player's last 2 moves is rat this player only rats for this round.
  25. if currentRound == 49:
  26. return True
  27. if len(othermoves) < 2:
  28. return False
  29. if othermoves[-1] and othermoves[-2]:
  30. return True
  31. else:
  32. return False
  33.  
  34. def titForTwotatswithendmovefour(mymoves, othermoves, totalRounds, currentRound):
  35. #Stays silent until the other player rats twice in a row. If the other player's last 2 moves is rat this player only rats for this round.
  36. if currentRound == 49:
  37. return True
  38. if len(othermoves) < 2:
  39. return False
  40. if othermoves[-1] and othermoves[-2]:
  41. return True
  42. else:
  43. return False
  44.  
  45. def titForTwotatswithendmovefive(mymoves, othermoves, totalRounds, currentRound):
  46. #Stays silent until the other player rats twice in a row. If the other player's last 2 moves is rat this player only rats for this round.
  47. if currentRound == 49:
  48. return True
  49. if len(othermoves) < 2:
  50. return False
  51. if othermoves[-1] and othermoves[-2]:
  52. return True
  53. else:
  54. return False
  55.  
  56. def titForTwotatswithendmovesix(mymoves, othermoves, totalRounds, currentRound):
  57. #Stays silent until the other player rats twice in a row. If the other player's last 2 moves is rat this player only rats for this round.
  58. if currentRound == 49:
  59. return True
  60. if len(othermoves) < 2:
  61. return False
  62. if othermoves[-1] and othermoves[-2]:
  63. return True
  64. else:
  65. return False
  66.  
  67. def titForTwotatswithendmoveseven(mymoves, othermoves, totalRounds, currentRound):
  68. #Stays silent until the other player rats twice in a row. If the other player's last 2 moves is rat this player only rats for this round.
  69. if currentRound == 49:
  70. return True
  71. if len(othermoves) < 2:
  72. return False
  73. if othermoves[-1] and othermoves[-2]:
  74. return True
  75. else:
  76. return False
  77.  
  78. def titForTwotatswithendmoveeight(mymoves, othermoves, totalRounds, currentRound):
  79. #Stays silent until the other player rats twice in a row. If the other player's last 2 moves is rat this player only rats for this round.
  80. if currentRound == 49:
  81. return True
  82. if len(othermoves) < 2:
  83. return False
  84. if othermoves[-1] and othermoves[-2]:
  85. return True
  86. else:
  87. return False
  88.  
  89. def titForTwotatswithendmovenine(mymoves, othermoves, totalRounds, currentRound):
  90. #Stays silent until the other player rats twice in a row. If the other player's last 2 moves is rat this player only rats for this round.
  91. if currentRound == 49:
  92. return True
  93. if len(othermoves) < 2:
  94. return False
  95. if othermoves[-1] and othermoves[-2]:
  96. return True
  97. else:
  98. return False
  99.  
  100. def titForTwotatswithendmoveten(mymoves, othermoves, totalRounds, currentRound):
  101. #Stays silent until the other player rats twice in a row. If the other player's last 2 moves is rat this player only rats for this round.
  102. if currentRound == 49:
  103. return True
  104. if len(othermoves) < 2:
  105. return False
  106. if othermoves[-1] and othermoves[-2]:
  107. return True
  108. else:
  109. return False
  110.  
  111. def titForTwotatswithendmoveeleven(mymoves, othermoves, totalRounds, currentRound):
  112. #Stays silent until the other player rats twice in a row. If the other player's last 2 moves is rat this player only rats for this round.
  113. if currentRound == 49:
  114. return True
  115. if len(othermoves) < 2:
  116. return False
  117. if othermoves[-1] and othermoves[-2]:
  118. return True
  119. else:
  120. return False
  121.  
  122. def titForTwotatswithendmovetwelve(mymoves, othermoves, totalRounds, currentRound):
  123. #Stays silent until the other player rats twice in a row. If the other player's last 2 moves is rat this player only rats for this round.
  124. if currentRound == 49:
  125. return True
  126. if len(othermoves) < 2:
  127. return False
  128. if othermoves[-1] and othermoves[-2]:
  129. return True
  130. else:
  131. return False
  132.  
  133. def titForTwotatswithendmovethirteen(mymoves, othermoves, totalRounds, currentRound):
  134. #Stays silent until the other player rats twice in a row. If the other player's last 2 moves is rat this player only rats for this round.
  135. if currentRound == 49:
  136. return True
  137. if len(othermoves) < 2:
  138. return False
  139. if othermoves[-1] and othermoves[-2]:
  140. return True
  141. else:
  142. return False
  143.  
  144. def titForTwotatswithendmovefourteen(mymoves, othermoves, totalRounds, currentRound):
  145. #Stays silent until the other player rats twice in a row. If the other player's last 2 moves is rat this player only rats for this round.
  146. if currentRound == 49:
  147. return True
  148. if len(othermoves) < 2:
  149. return False
  150. if othermoves[-1] and othermoves[-2]:
  151. return True
  152. else:
  153. return False
  154.  
  155. def titForTwotatswithendmovefifteen(mymoves, othermoves, totalRounds, currentRound):
  156. #Stays silent until the other player rats twice in a row. If the other player's last 2 moves is rat this player only rats for this round.
  157. if currentRound == 49:
  158. return True
  159. if len(othermoves) < 2:
  160. return False
  161. if othermoves[-1] and othermoves[-2]:
  162. return True
  163. else:
  164. return False
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement