From 5177c50661617ecf251406c04176591a825a6bcc Mon Sep 17 00:00:00 2001
From: Mehul-Gandhi TicTacToe Class Description
To win in Tic Tac Toe, a player must have three of their symbols (either X
or O
) consecutively in a row. This can be achieved in the following ways:
Condition | -Description | -
---|---|
Horizontal | -
- - Top row - - Middle row - - Bottom row - |
-
Vertical | -
- - Leftmost column - - Middle column - - Rightmost column - |
-
Diagonal | -
- - From top-left to bottom-right - - From top-right to bottom-left - |
-