representing the board as data firstyou must figure out how to represent the board as data in variable on paperthe tic tac toe board is drawn as pair of horizontal lines and pair of vertical lineswith either an xoor empty space in each of the nine spaces in the programthe tic tac toe board is represented as list of strings each string will represent one of the nine spaces on the board to make it easier to remember which index in the list is for which spacethey will mirror the numbers on keyboard' number keypadas shown in figure - the strings will either be 'xfor the player'ofor the playeror single space for blank space so if list with ten strings was stored in variable named boardthen board[ would be the top-left space on the board board[ would be the center board[ would be the left side spaceand so on the program will ignore the string at index in the list the player will enter number from to to tell the game which space they want to move on game ai the ai needs to be able to look at board and decide which types of spaces it will move on to be clearwe will label three types of spaces on the tic tac toe boardcornerssidesand the center figure - is chart of what each space is figure - locations of the sidecornerand center places