Run Code  | API  | Code Wall  | Users  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

shuru9

Language: Layout:
- ] Show input
Absolute running time: 0.26 sec, cpu time: 0.31 sec, memory peak: 16 Mb, absolute service time: 0,27 sec 
edit mode |  history  | discussion
Error(s), warning(s):
Traceback (most recent call last):
  File "source_file.py", line 194, in <module>
    posxxxx=int(input())
EOFError: EOF when reading a line
Tic tac toe
X's Turn.
Choose a position from 1-9

x | - | -     1 | 2 | 3
- | - | -     4 | 5 | 6
- | - | -     7 | 8 | 9
Now O's turn.
Choose a position from 1-9

x | - | -     1 | 2 | 3
- | - | -     4 | 5 | 6
o | - | -     7 | 8 | 9
Now X's turn.
Choose a position from 1-9

x | x | -     1 | 2 | 3
- | - | -     4 | 5 | 6
o | - | -     7 | 8 | 9
Now O's turn.
Choose a position from 1-9

x | x | -     1 | 2 | 3
- | - | -     4 | 5 | 6
o | - | o     7 | 8 | 9
Now X's turn.
Choose a position from 1-9

x | x | -     1 | 2 | 3
x | - | -     4 | 5 | 6
o | - | o     7 | 8 | 9
you are playing nice
Now O's turn.
Choose a position from 1-9

x | x | o     1 | 2 | 3
x | - | -     4 | 5 | 6
o | - | o     7 | 8 | 9
you are playing nice
Now X's turn.
Choose a position from 1-9

x | x | o     1 | 2 | 3
x | - | x     4 | 5 | 6
o | - | o     7 | 8 | 9
you are playing nice
Now O's turn.
Choose a position from 1-9

x | x | o     1 | 2 | 3
x | o | x     4 | 5 | 6
o | - | o     7 | 8 | 9
o won
Now X's turn.
Choose a position from 1-9