TicTacToe Game created for Gazeus as part of their evaluation.
Game rules.
Board is set up of 9 squares( 3 x 3 ).
Players alternate placing Xs and Os on the board until either (a) one player has three in a row, horizontally, vertically or diagonally; or (b) all nine squares are filled.
If a player is able to draw three Xs or three Os in a row, that player wins.
If all nine squares are filled and neither player has three in a row, the game is a draw.