For the following board play
const plays: string[][] = [
["1 X", "", "5 X"],
["7 X", "3 X", "2 O"],
["6 O", "8 O", "4 O"]
];
/*
[
[0, 0],
[1, 2],
[1, 1],
[2, 2],
[0, 2],
[2, 0],
[2, 1],
[0, 1],
[1, 0]
]
*/
_ | _ | _
_ | _ | _
_ | _ | _
Player Abhisek [X]
Player Chandni [O]
Current Player Abhisek [X] moves [0, 0]
X | _ | _
_ | _ | _
_ | _ | _
Current Player Chandni [O] moves [1, 2]
X | _ | _
_ | _ | O
_ | _ | _
Current Player Abhisek [X] moves [1, 1]
X | _ | _
_ | X | O
_ | _ | _
Current Player Chandni [O] moves [2, 2]
X | _ | _
_ | X | O
_ | _ | O
Current Player Abhisek [X] moves [0, 2]
X | _ | X
_ | X | O
_ | _ | O
Current Player Chandni [O] moves [2, 0]
X | _ | X
_ | X | O
O | _ | O
Current Player Abhisek [X] moves [1, 0]
X | _ | X
X | X | O
O | _ | O
Current Player Chandni [O] moves [2, 1]
X | _ | X
X | X | O
O | O | O
Winner Player Chandni [O]
See License