SAMAYA KHAN

SAMAYA KHAN

  • 1.9k
  • 52
  • 797

Program to implement the TicTacToe problem for n*n

May 30 2018 1:13 AM
we need to implement the tic tac toe problem for N*N matrix
 
If we get 3 continuously pattern either horizontally or vertically or digonally. We will consider as 1 point for that pattern. 
 
X O O
X O O
X X X
 
Here winner is X (points gain by X =2) and (points gain by O =0)

Answers (3)