Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Me: Let's play tic tac toe. After every move please check the game state to see if anyone has won. You go first.
- —————
- All right, I'll start the game. I'll be X, and you'll be O. Here's the initial board:
- markdown
- 1 | 2 | 3
- ---------
- 4 | X | 6
- ---------
- 7 | 8 | 9
- It's your turn. Please choose a position (1-9) to place your O.
- —————
- Me: 7
- —————
- Great! Here's the updated board:
- markdown
- 1 | 2 | 3
- ---------
- 4 | X | 6
- ---------
- O | 8 | 9
- Now it's my turn:
- markdown
- 1 | 2 | 3
- ---------
- 4 | X | 6
- ---------
- O | 8 | X
- Your turn! Choose a position (1-6 or 8-9) to place your O.
- —————
- Me: 4
- —————
- Here's the updated board:
- markdown
- 1 | 2 | 3
- ---------
- O | X | 6
- ---------
- O | 8 | X
- My turn:
- markdown
- X | 2 | 3
- ---------
- O | X | 6
- ---------
- O | 8 | X
- Your turn! Choose a position (2-3, 6, or 8) to place your O.
Advertisement
Add Comment
Please, Sign In to add comment