The objective of this assignment is to implement the tic-tac-toegame with a C program.
The game is played by two players on a board defined as a 5x5 grid(array). Each board
position can contain one of two possible markers, either ‘X’ or‘O’. The first player plays with
‘X’ while the second player plays with ‘O’. Players place theirmarkers in an empty position of
the board in turns. The objective is to place 5 consecutive markersof the same type in a line (a
line can be any row, any column or any diagonal). The first playerwho manages to place 5
markers in a line wins. The game is played until one of the playerswins or until the board is full
with no player having 5 markers in a line (i.e., the result of thegame is a draw).