Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CL-USER> (play-one-game
- )
- | |
- -----------
- | |
- -----------
- | |
- Would you like to go first? (y or n) y
- Your move: 4
- | |
- -----------
- X | |
- -----------
- | |
- My move: 9
- My strategy: random move
- | |
- -----------
- X | |
- -----------
- | | O
- Your move: 3
- | | X
- -----------
- X | |
- -----------
- | | O
- My move: 7
- My strategy: avoid fork
- | | X
- -----------
- X | |
- -----------
- O | | O
- Your move: 8
- | | X
- -----------
- X | |
- -----------
- O | X | O
- My move: 5
- My strategy: avoid fork
- | | X
- -----------
- X | O |
- -----------
- O | X | O
- Your move: 1
- X | | X
- -----------
- X | O |
- -----------
- O | X | O
- My move: 2
- My strategy: block opponent
- X | O | X
- -----------
- X | O |
- -----------
- O | X | O
- Your move: 6
- X | O | X
- -----------
- X | O | X
- -----------
- O | X | O
- Tie game.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement