×
"Tic-Tac-Toe" is the game for two players, X and O, who take turns marking the spaces in a 4x4
grid.
1.Player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row
is
the
winner. Alert message “Win: !” will appear.
2.If Player didn’t reach the desired stipulation to place four of X or O marks in a horizontal,
vertical, or diagonal row. Alert message “Game Draw" will appear.
3. If Player tries to make a click to marked space in 4x4 grid, alert message “Cell is occupied”
will
appear.