Advertisement
Guest User

Untitled

a guest
Apr 27th, 2015
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. $ python3 1.py
  2. Choose your mode
  3. H - for human and C - for computer
  4. C
  5.  
  6. First player turn
  7. Input row
  8. 1
  9. Input column
  10. 1
  11.  
  12. ---------------
  13. X | . | .
  14. ---------------
  15. . | . | .
  16. ---------------
  17. . | . | .
  18. ---------------
  19.  
  20. PC turn
  21.  
  22. ---------------
  23. X | . | .
  24. ---------------
  25. . | O | .
  26. ---------------
  27. . | . | .
  28. ---------------
  29.  
  30. First player turn
  31. Input row
  32. 1
  33. Input column
  34.  
  35. Traceback (most recent call last):
  36. File "1.py", line 168, in <module>
  37. turn(player,choose)
  38. File "1.py", line 120, in turn
  39. y = int(input())
  40. ValueError: invalid literal for int() with base 10: ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement