Tic-Tac-Toe
Design and develop a tic-tac-toe game, in a dynamic fashion, without using any magic constants, to allow for multiple board sizes. A player wins by completing an entire row, column, or diagonal. Interactive demonstrations with different sizes are shown in Figure 1 and Figure 2.
X's turn
X's turn