Advertisement
Guest User

Untitled

a guest
May 21st, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.93 KB | None | 0 0
  1. 2 ?- play.
  2. . . . . . .
  3. . . . . . .
  4. . . 1 2 . .
  5. . . 2 1 . .
  6. . . . . . .
  7. . . . . . .
  8. Stupid is trying move [2,1] ... *** Invalid! ***
  9. Stupid is trying move [4,4] ... *** Invalid! ***
  10. Stupid is trying move [5,5] ... *** Invalid! ***
  11. Stupid is trying move [4,5] ... *** Invalid! ***
  12. Stupid is trying move [0,0] ... *** Invalid! ***
  13. Stupid is trying move [5,1] ... *** Invalid! ***
  14. Stupid is trying move [5,0] ... *** Invalid! ***
  15. Stupid is trying move [1,2] ... *** Invalid! ***
  16. Stupid is trying move [0,5] ... *** Invalid! ***
  17. Stupid is trying move [4,3] ... *** Invalid! ***
  18. Stupid is trying move [3,1]
  19. Result: The move chosen is : [3,1]
  20. . . . . . .
  21. . . . 1 . .
  22. . . 1 1 . .
  23. . . 2 1 . .
  24. . . . . . .
  25. . . . . . .
  26. Computer is moving...
  27. Computer move computed by searching 420 states with max depth 4
  28. Result: The move chosen is : [4,1]
  29. . . . . . .
  30. . . . 1 2 .
  31. . . 1 2 . .
  32. . . 2 1 . .
  33. . . . . . .
  34. . . . . . .
  35. Stupid is trying move [1,4] ... *** Invalid! ***
  36. Stupid is trying move [4,2]
  37. Result: The move chosen is : [4,2]
  38. . . . . . .
  39. . . . 1 2 .
  40. . . 1 1 1 .
  41. . . 2 1 . .
  42. . . . . . .
  43. . . . . . .
  44. Computer is moving...
  45. Computer move computed by searching 949 states with max depth 4
  46. Result: The move chosen is : [2,1]
  47. . . . . . .
  48. . . 2 2 2 .
  49. . . 2 1 1 .
  50. . . 2 1 . .
  51. . . . . . .
  52. . . . . . .
  53. Stupid is trying move [5,3] ... *** Invalid! ***
  54. Stupid is trying move [4,4] ... *** Invalid! ***
  55. Stupid is trying move [1,4]
  56. Result: The move chosen is : [1,4]
  57. . . . . . .
  58. . . 2 2 2 .
  59. . . 2 1 1 .
  60. . . 1 1 . .
  61. . 1 . . . .
  62. . . . . . .
  63. Computer is moving...
  64. Computer move computed by searching 3105 states with max depth 4
  65. Result: The move chosen is : [5,3]
  66. . . . . . .
  67. . . 2 2 2 .
  68. . . 2 1 2 .
  69. . . 1 1 . 2
  70. . 1 . . . .
  71. . . . . . .
  72. Stupid is trying move [0,5] ... *** Invalid! ***
  73. Stupid is trying move [5,5] ... *** Invalid! ***
  74. Stupid is trying move [2,0]
  75. Result: The move chosen is : [2,0]
  76. . . 1 . . .
  77. . . 1 2 2 .
  78. . . 1 1 2 .
  79. . . 1 1 . 2
  80. . 1 . . . .
  81. . . . . . .
  82. Computer is moving...
  83. Computer move computed by searching 2549 states with max depth 4
  84. Result: The move chosen is : [1,3]
  85. . . 1 . . .
  86. . . 1 2 2 .
  87. . . 2 1 2 .
  88. . 2 1 1 . 2
  89. . 1 . . . .
  90. . . . . . .
  91. Stupid is trying move [4,4] ... *** Invalid! ***
  92. Stupid is trying move [2,4] ... *** Invalid! ***
  93. Stupid is trying move [1,0] ... *** Invalid! ***
  94. Stupid is trying move [5,5] ... *** Invalid! ***
  95. Stupid is trying move [0,5] ... *** Invalid! ***
  96. Stupid is trying move [5,1]
  97. Result: The move chosen is : [5,1]
  98. . . 1 . . .
  99. . . 1 1 1 1
  100. . . 2 1 1 .
  101. . 2 1 1 . 2
  102. . 1 . . . .
  103. . . . . . .
  104. Computer is moving...
  105. Computer move computed by searching 1463 states with max depth 4
  106. Result: The move chosen is : [1,5]
  107. . . 1 . . .
  108. . . 1 1 1 1
  109. . . 2 1 1 .
  110. . 2 1 1 . 2
  111. . 2 . . . .
  112. . 2 . . . .
  113. Stupid is trying move [3,4] ... *** Invalid! ***
  114. Stupid is trying move [1,1]
  115. Result: The move chosen is : [1,1]
  116. . . 1 . . .
  117. . 1 1 1 1 1
  118. . . 1 1 1 .
  119. . 2 1 1 . 2
  120. . 2 . . . .
  121. . 2 . . . .
  122. Computer is moving...
  123. Computer move computed by searching 691 states with max depth 4
  124. Result: The move chosen is : [4,0]
  125. . . 1 . 2 .
  126. . 1 1 2 1 1
  127. . . 2 1 1 .
  128. . 2 1 1 . 2
  129. . 2 . . . .
  130. . 2 . . . .
  131. Stupid is trying move [0,4] ... *** Invalid! ***
  132. Stupid is trying move [0,0] ... *** Invalid! ***
  133. Stupid is trying move [1,0] ... *** Invalid! ***
  134. Stupid is trying move [0,5]
  135. Result: The move chosen is : [0,5]
  136. . . 1 . 2 .
  137. . 1 1 2 1 1
  138. . . 2 1 1 .
  139. . 2 1 1 . 2
  140. . 1 . . . .
  141. 1 2 . . . .
  142. Computer is moving...
  143. Computer move computed by searching 2526 states with max depth 4
  144. Result: The move chosen is : [4,3]
  145. . . 1 . 2 .
  146. . 1 1 2 2 1
  147. . . 2 1 2 .
  148. . 2 2 2 2 2
  149. . 1 . . . .
  150. 1 2 . . . .
  151. Stupid is trying move [0,3] ... *** Invalid! ***
  152. Stupid is trying move [2,4]
  153. Result: The move chosen is : [2,4]
  154. . . 1 . 2 .
  155. . 1 1 2 2 1
  156. . . 1 1 1 .
  157. . 2 1 1 2 2
  158. . 1 1 . . .
  159. 1 2 . . . .
  160. Computer is moving...
  161. Computer move computed by searching 1931 states with max depth 4
  162. Result: The move chosen is : [3,5]
  163. . . 1 . 2 .
  164. . 1 1 2 2 1
  165. . . 1 1 1 .
  166. . 2 1 1 2 2
  167. . 1 2 . . .
  168. 1 2 . 2 . .
  169. Stupid is trying move [2,5]
  170. Result: The move chosen is : [2,5]
  171. . . 1 . 2 .
  172. . 1 1 2 2 1
  173. . . 1 1 1 .
  174. . 2 1 1 2 2
  175. . 1 1 . . .
  176. 1 1 1 2 . .
  177. Computer is moving...
  178. Computer move computed by searching 1219 states with max depth 4
  179. Result: The move chosen is : [0,1]
  180. . . 1 . 2 .
  181. 2 2 2 2 2 1
  182. . . 1 1 1 .
  183. . 2 1 1 2 2
  184. . 1 1 . . .
  185. 1 1 1 2 . .
  186. Stupid is trying move [3,0]
  187. Result: The move chosen is : [3,0]
  188. . . 1 1 2 .
  189. 2 2 2 1 2 1
  190. . . 1 1 1 .
  191. . 2 1 1 2 2
  192. . 1 1 . . .
  193. 1 1 1 2 . .
  194. Computer is moving...
  195. Computer move computed by searching 571 states with max depth 4
  196. Result: The move chosen is : [1,0]
  197. . 2 2 2 2 .
  198. 2 2 2 1 2 1
  199. . . 1 1 1 .
  200. . 2 1 1 2 2
  201. . 1 1 . . .
  202. 1 1 1 2 . .
  203. Stupid is trying move [4,5]
  204. Result: The move chosen is : [4,5]
  205. . 2 2 2 2 .
  206. 2 2 2 1 2 1
  207. . . 1 1 1 .
  208. . 2 1 1 2 2
  209. . 1 1 . . .
  210. 1 1 1 1 1 .
  211. Computer is moving...
  212. Computer move computed by searching 301 states with max depth 4
  213. Result: The move chosen is : [3,4]
  214. . 2 2 2 2 .
  215. 2 2 2 2 2 1
  216. . . 1 2 1 .
  217. . 2 1 2 2 2
  218. . 1 1 2 . .
  219. 1 1 1 1 1 .
  220. Stupid is trying move [5,2]
  221. Result: The move chosen is : [5,2]
  222. . 2 2 2 2 .
  223. 2 2 2 2 2 1
  224. . . 1 2 1 1
  225. . 2 1 2 1 2
  226. . 1 1 1 . .
  227. 1 1 1 1 1 .
  228. Computer is moving...
  229. Computer move computed by searching 441 states with max depth 4
  230. Result: The move chosen is : [1,2]
  231. . 2 2 2 2 .
  232. 2 2 2 2 2 1
  233. . 2 2 2 1 1
  234. . 2 1 2 1 2
  235. . 1 1 1 . .
  236. 1 1 1 1 1 .
  237. Stupid is trying move [5,0]
  238. Result: The move chosen is : [5,0]
  239. . 2 2 2 2 1
  240. 2 2 2 2 1 1
  241. . 2 2 1 1 1
  242. . 2 1 2 1 2
  243. . 1 1 1 . .
  244. 1 1 1 1 1 .
  245. Computer is moving...
  246. Computer move computed by searching 69 states with max depth 4
  247. Result: The move chosen is : [5,4]
  248. . 2 2 2 2 1
  249. 2 2 2 2 1 1
  250. . 2 2 2 1 1
  251. . 2 1 2 2 2
  252. . 1 1 1 . 2
  253. 1 1 1 1 1 .
  254. Stupid is trying move [0,3]
  255. Result: The move chosen is : [0,3]
  256. . 2 2 2 2 1
  257. 2 2 2 2 1 1
  258. . 2 2 2 1 1
  259. 1 1 1 2 2 2
  260. . 1 1 1 . 2
  261. 1 1 1 1 1 .
  262. Computer is moving...
  263. Computer move computed by searching 27 states with max depth 4
  264. Result: The move chosen is : [0,4]
  265. . 2 2 2 2 1
  266. 2 2 2 2 1 1
  267. . 2 2 2 1 1
  268. 1 2 1 2 2 2
  269. 2 1 1 1 . 2
  270. 1 1 1 1 1 .
  271. Stupid is trying move [5,5]
  272. Result: The move chosen is : [5,5]
  273. . 2 2 2 2 1
  274. 2 2 2 2 1 1
  275. . 2 2 2 1 1
  276. 1 2 1 2 2 1
  277. 2 1 1 1 . 1
  278. 1 1 1 1 1 1
  279. Computer is moving...
  280. Computer move computed by searching 14 states with max depth 4
  281. Result: The move chosen is : [0,2]
  282. . 2 2 2 2 1
  283. 2 2 2 2 1 1
  284. 2 2 2 2 1 1
  285. 2 2 1 2 2 1
  286. 2 1 1 1 . 1
  287. 1 1 1 1 1 1
  288. Stupid is trying move [4,4]
  289. Result: The move chosen is : [4,4]
  290. . 2 2 2 2 1
  291. 2 2 2 2 1 1
  292. 2 2 2 2 1 1
  293. 2 2 1 2 1 1
  294. 2 1 1 1 1 1
  295. 1 1 1 1 1 1
  296. Computer is moving...
  297. Computer move computed by searching 3 states with max depth 4
  298. Result: The move chosen is : n
  299. . 2 2 2 2 1
  300. 2 2 2 2 1 1
  301. 2 2 2 2 1 1
  302. 2 2 1 2 1 1
  303. 2 1 1 1 1 1
  304. 1 1 1 1 1 1
  305. Stupid is trying move [0,0]
  306. Result: The move chosen is : [0,0]
  307.  
  308. Computer (player 2) wins. Computer has 5 stones while Stupid has 31
  309. Final board:
  310. 1 1 1 1 1 1
  311. 1 1 2 2 1 1
  312. 1 2 1 2 1 1
  313. 1 2 1 1 1 1
  314. 1 1 1 1 1 1
  315. 1 1 1 1 1 1
  316. true.
  317.  
  318. 3 ?-
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement