makemove(theboardcomputerlettermoveif iswinner(theboardcomputerletter)drawboard(theboardprint('the computer has beaten youyou lose 'gameisplaying false elseif isboardfull(theboard)drawboard(theboardprint('the game is tie!'break elseturn 'playerif not playagain()break designing the program figure - is what flow chart of tic tac toe could look like in the tic tac toe computer program the player chooses if they want to be or who takes the first turn is randomly chosen then the player and computer take turns making moves the boxes on the left side of the flow chart are what happens during the player' turn the right side shows what happens on the computer' turn after the player or computer makes movethe program checks if they won or caused tieand then the game switches turns after the game is overthe program asks the player if they want to play again