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

shuru6

Language: Layout:
- ] Show input
Absolute running time: 0.18 sec, cpu time: 0.15 sec, memory peak: 6 Mb, absolute service time: 0,19 sec 
edit mode |  history  | discussion
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 | o | -     1 | 2 | 3
- | - | -     4 | 5 | 6
- | - | -     7 | 8 | 9
Now X's turn.
Choose a position from 1-9

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

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

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

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

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

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

x | o | x     1 | 2 | 3
o | x | o     4 | 5 | 6
x | o | x     7 | 8 | 9