Advertisement
Guest User

Untitled

a guest
Jun 8th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. λ python mydominoes.py
  2. Game starting with first tile: [<0:1>]
  3. I AM THE CUURENT PLAYER
  4. This is Player One, my hand is [<0:4>, <2:2>, <0:5>, <1:1>, <1:6>, <0:2>, <5:5>]
  5. Player One plays <1:1> to connect to tile <0:1> on the board
  6. Board is now: [<0:1>, <1:1>]
  7. I AM THE CUURENT PLAYER
  8. This is Player Two, my hand is [<1:5>, <5:6>, <3:3>, <4:6>, <4:4>, <3:4>, <1:4>]
  9. Player Two plays <1:5> to connect to tile <1:1> on the board
  10. Board is now: [<0:1>, <1:1>, <1:5>]
  11. I AM THE CUURENT PLAYER
  12. This is Player One, my hand is [<0:4>, <2:2>, <0:5>, <1:6>, <0:2>, <5:5>]
  13. Player One plays <5:0> to connect to tile <1:5> on the board
  14. Board is now: [<0:1>, <1:1>, <1:5>, <5:0>]
  15. I AM THE CUURENT PLAYER
  16. This is Player Two, my hand is [<5:6>, <3:3>, <4:6>, <4:4>, <3:4>, <1:4>]
  17. Player Two can't play, drawing tile <1:2>
  18. I AM THE CUURENT PLAYER
  19. This is Player Two, my hand is [<1:2>, <5:6>, <3:3>, <4:6>, <4:4>, <3:4>, <1:4>]
  20. Player Two can't play, drawing tile <2:5>
  21. I AM THE CUURENT PLAYER
  22. This is Player Two, my hand is [<2:5>, <1:2>, <5:6>, <3:3>, <4:6>, <4:4>, <3:4>, <1:4>]
  23. Player Two can't play, drawing tile <0:6>
  24. I AM THE CUURENT PLAYER
  25. This is Player Two, my hand is [<0:6>, <2:5>, <1:2>, <5:6>, <3:3>, <4:6>, <4:4>, <3:4>, <1:4>]
  26. Player Two plays <0:6> to connect to tile <5:0> on the board
  27. Board is now: [<0:1>, <1:1>, <1:5>, <5:0>, <0:6>]
  28. I AM THE CUURENT PLAYER
  29. This is Player One, my hand is [<0:4>, <2:2>, <1:6>, <0:2>, <5:5>]
  30. Player One plays <6:1> to connect to tile <0:6> on the board
  31. Board is now: [<0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>]
  32. I AM THE CUURENT PLAYER
  33. This is Player Two, my hand is [<2:5>, <1:2>, <5:6>, <3:3>, <4:6>, <4:4>, <3:4>, <1:4>]
  34. Player Two plays <1:2> to connect to tile <6:1> on the board
  35. Board is now: [<0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>]
  36. I AM THE CUURENT PLAYER
  37. This is Player One, my hand is [<0:4>, <2:2>, <0:2>, <5:5>]
  38. Player One plays <2:2> to connect to tile <1:2> on the board
  39. Board is now: [<0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>]
  40. I AM THE CUURENT PLAYER
  41. This is Player Two, my hand is [<2:5>, <5:6>, <3:3>, <4:6>, <4:4>, <3:4>, <1:4>]
  42. Player Two plays <2:5> to connect to tile <2:2> on the board
  43. Board is now: [<0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>, <2:5>]
  44. I AM THE CUURENT PLAYER
  45. This is Player One, my hand is [<0:4>, <0:2>, <5:5>]
  46. Player One plays <5:5> to connect to tile <2:5> on the board
  47. Board is now: [<0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>, <2:5>, <5:5>]
  48. I AM THE CUURENT PLAYER
  49. This is Player Two, my hand is [<5:6>, <3:3>, <4:6>, <4:4>, <3:4>, <1:4>]
  50. Player Two plays <5:6> to connect to tile <5:5> on the board
  51. Board is now: [<0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>, <2:5>, <5:5>, <5:6>]
  52. I AM THE CUURENT PLAYER
  53. This is Player One, my hand is [<0:4>, <0:2>]
  54. Player One can't play, drawing tile <4:5>
  55. I AM THE CUURENT PLAYER
  56. This is Player One, my hand is [<4:5>, <4:0>, <0:2>]
  57. Player One plays <4:0> to connect to tile <0:1> on the board
  58. Board is now: [<4:0>, <0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>, <2:5>, <5:5>, <5:6>]
  59. I AM THE CUURENT PLAYER
  60. This is Player Two, my hand is [<3:3>, <4:6>, <4:4>, <3:4>, <1:4>]
  61. Player Two plays <6:4> to connect to tile <5:6> on the board
  62. Board is now: [<4:0>, <0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>, <2:5>, <5:5>, <5:6>, <6:4>]
  63. I AM THE CUURENT PLAYER
  64. This is Player One, my hand is [<4:5>, <0:2>]
  65. Player One plays <4:5> to connect to tile <6:4> on the board
  66. Board is now: [<4:0>, <0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>, <2:5>, <5:5>, <5:6>, <6:4>, <4:5>]
  67. I AM THE CUURENT PLAYER
  68. This is Player Two, my hand is [<3:3>, <4:4>, <3:4>, <1:4>]
  69. Player Two plays <4:4> to connect to tile <4:0> on the board
  70. Board is now: [<4:4>, <4:0>, <0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>, <2:5>, <5:5>, <5:6>, <6:4>, <4:5>]
  71. I AM THE CUURENT PLAYER
  72. This is Player One, my hand is [<0:2>]
  73. Player One can't play, drawing tile <0:3>
  74. I AM THE CUURENT PLAYER
  75. This is Player One, my hand is [<0:3>, <0:2>]
  76. Player One can't play, drawing tile <2:4>
  77. I AM THE CUURENT PLAYER
  78. This is Player One, my hand is [<2:4>, <0:3>, <0:2>]
  79. Player One can't play, drawing tile <3:6>
  80. I AM THE CUURENT PLAYER
  81. This is Player One, my hand is [<3:6>, <2:4>, <0:3>, <0:2>]
  82. Player One plays <2:4> to connect to tile <4:4> on the board
  83. Board is now: [<2:4>, <4:4>, <4:0>, <0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>, <2:5>, <5:5>, <5:6>, <6:4>, <4:5>]
  84. I AM THE CUURENT PLAYER
  85. This is Player Two, my hand is [<3:3>, <3:4>, <1:4>]
  86. Player Two can't play, drawing tile <1:3>
  87. I AM THE CUURENT PLAYER
  88. This is Player Two, my hand is [<1:3>, <3:3>, <3:4>, <1:4>]
  89. Player Two can't play, drawing tile <2:6>
  90. I AM THE CUURENT PLAYER
  91. This is Player Two, my hand is [<2:6>, <1:3>, <3:3>, <3:4>, <1:4>]
  92. Player Two can't play, drawing tile <0:0>
  93. I AM THE CUURENT PLAYER
  94. This is Player Two, my hand is [<0:0>, <6:2>, <1:3>, <3:3>, <3:4>, <1:4>]
  95. Player Two plays <6:2> to connect to tile <2:4> on the board
  96. Board is now: [<6:2>, <2:4>, <4:4>, <4:0>, <0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>, <2:5>, <5:5>, <5:6>, <6:4>, <4:5>]
  97. I AM THE CUURENT PLAYER
  98. This is Player One, my hand is [<3:6>, <0:3>, <0:2>]
  99. Player One can't play, drawing tile <6:6>
  100. I AM THE CUURENT PLAYER
  101. This is Player One, my hand is [<6:6>, <3:6>, <0:3>, <0:2>]
  102. Player One can't play, drawing tile <3:5>
  103. I AM THE CUURENT PLAYER
  104. This is Player One, my hand is [<3:5>, <6:6>, <3:6>, <0:3>, <0:2>]
  105. Player One plays <5:3> to connect to tile <4:5> on the board
  106. Board is now: [<6:2>, <2:4>, <4:4>, <4:0>, <0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>, <2:5>, <5:5>, <5:6>, <6:4>, <4:5>, <5:3>]
  107. I AM THE CUURENT PLAYER
  108. This is Player Two, my hand is [<0:0>, <1:3>, <3:3>, <3:4>, <1:4>]
  109. Player Two plays <3:1> to connect to tile <5:3> on the board
  110. Board is now: [<6:2>, <2:4>, <4:4>, <4:0>, <0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>, <2:5>, <5:5>, <5:6>, <6:4>, <4:5>, <5:3>, <3:1>]
  111. I AM THE CUURENT PLAYER
  112. This is Player One, my hand is [<6:6>, <3:6>, <0:3>, <0:2>]
  113. Player One can't play, drawing tile <2:3>
  114. I AM THE CUURENT PLAYER
  115. This is Player One, my hand is [<2:3>, <6:6>, <3:6>, <0:3>, <0:2>]
  116. Player One plays <6:6> to connect to tile <6:2> on the board
  117. Board is now: [<6:6>, <6:2>, <2:4>, <4:4>, <4:0>, <0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>, <2:5>, <5:5>, <5:6>, <6:4>, <4:5>, <5:3>, <3:1>]
  118. I AM THE CUURENT PLAYER
  119. This is Player Two, my hand is [<0:0>, <3:3>, <3:4>, <1:4>]
  120. Player Two plays <1:4> to connect to tile <3:1> on the board
  121. Board is now: [<6:6>, <6:2>, <2:4>, <4:4>, <4:0>, <0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>, <2:5>, <5:5>, <5:6>, <6:4>, <4:5>, <5:3>, <3:1>, <1:4>]
  122. I AM THE CUURENT PLAYER
  123. This is Player One, my hand is [<2:3>, <3:6>, <0:3>, <0:2>]
  124. Player One plays <3:6> to connect to tile <6:6> on the board
  125. Board is now: [<3:6>, <6:6>, <6:2>, <2:4>, <4:4>, <4:0>, <0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>, <2:5>, <5:5>, <5:6>, <6:4>, <4:5>, <5:3>, <3:1>, <1:4>]
  126. I AM THE CUURENT PLAYER
  127. This is Player Two, my hand is [<0:0>, <3:3>, <3:4>]
  128. Player Two plays <4:3> to connect to tile <1:4> on the board
  129. Board is now: [<3:6>, <6:6>, <6:2>, <2:4>, <4:4>, <4:0>, <0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>, <2:5>, <5:5>, <5:6>, <6:4>, <4:5>, <5:3>, <3:1>, <1:4>, <4:3>]
  130. I AM THE CUURENT PLAYER
  131. This is Player One, my hand is [<2:3>, <0:3>, <0:2>]
  132. Player One plays <3:2> to connect to tile <4:3> on the board
  133. Board is now: [<3:6>, <6:6>, <6:2>, <2:4>, <4:4>, <4:0>, <0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>, <2:5>, <5:5>, <5:6>, <6:4>, <4:5>, <5:3>, <3:1>, <1:4>, <4:3>, <3:2>]
  134. I AM THE CUURENT PLAYER
  135. This is Player Two, my hand is [<0:0>, <3:3>]
  136. Player Two plays <3:3> to connect to tile <3:6> on the board
  137. Board is now: [<3:3>, <3:6>, <6:6>, <6:2>, <2:4>, <4:4>, <4:0>, <0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>, <2:5>, <5:5>, <5:6>, <6:4>, <4:5>, <5:3>, <3:1>, <1:4>, <4:3>, <3:2>]
  138. I AM THE CUURENT PLAYER
  139. This is Player One, my hand is [<0:3>, <0:2>]
  140. Player One plays <2:0> to connect to tile <3:2> on the board
  141. Board is now: [<3:3>, <3:6>, <6:6>, <6:2>, <2:4>, <4:4>, <4:0>, <0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>, <2:5>, <5:5>, <5:6>, <6:4>, <4:5>, <5:3>, <3:1>, <1:4>, <4:3>, <3:2>, <2:0>]
  142. I AM THE CUURENT PLAYER
  143. This is Player Two, my hand is [<0:0>]
  144. Player Two plays <0:0> to connect to tile <2:0> on the board
  145. Board is now: [<3:3>, <3:6>, <6:6>, <6:2>, <2:4>, <4:4>, <4:0>, <0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>, <2:5>, <5:5>, <5:6>, <6:4>, <4:5>, <5:3>, <3:1>, <1:4>, <4:3>, <3:2>, <2:0>, <0:0>]
  146. I AM THE CUURENT PLAYER
  147. This is Player One, my hand is [<0:3>]
  148. Player One plays <0:3> to connect to tile <0:0> on the board
  149. Board is now: [<3:3>, <3:6>, <6:6>, <6:2>, <2:4>, <4:4>, <4:0>, <0:1>, <1:1>, <1:5>, <5:0>, <0:6>, <6:1>, <1:2>, <2:2>, <2:5>, <5:5>, <5:6>, <6:4>, <4:5>, <5:3>, <3:1>, <1:4>, <4:3>, <3:2>, <2:0>, <0:0>, <0:3>]
  150. I AM THE CUURENT PLAYER
  151. This is Player Two, my hand is []
  152. Player Player Two has won!
  153.  
  154. ENDING HANDS
  155. This is Player One, my hand is []
  156. This is Player Two, my hand is []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement