Command line tic-tac-toe, one player vs smart A.I.
Run: python tic-tac-toe.py
-------------
| | | |
-------------
| | | |
-------------
| | | |
-------------
Choose move e.g. 0 0:
1 1
-------------
| | | |
-------------
| | X | |
-------------
| | | |
-------------
AI plays
-------------
| | | |
-------------
| | X | |
-------------
| O | | |
-------------
Choose move e.g. 0 0:
1 0
-------------
| | X | |
-------------
| | X | |
-------------
| O | | |
-------------
AI plays
-------------
| | X | |
-------------
| O | X | |
-------------
| O | | |
-------------
Choose move e.g. 0 0:
1 2
-------------
| | X | |
-------------
| O | X | |
-------------
| O | X | |
-------------